summarylogtreecommitdiffstats
path: root/PathOfBuilding-force-disable-devmode.patch
diff options
context:
space:
mode:
Diffstat (limited to 'PathOfBuilding-force-disable-devmode.patch')
-rw-r--r--PathOfBuilding-force-disable-devmode.patch4
1 files changed, 2 insertions, 2 deletions
diff --git a/PathOfBuilding-force-disable-devmode.patch b/PathOfBuilding-force-disable-devmode.patch
index 56851f6a89be..9a5c3d5ffdd6 100644
--- a/PathOfBuilding-force-disable-devmode.patch
+++ b/PathOfBuilding-force-disable-devmode.patch
@@ -36,8 +36,8 @@ index 1af88e0..683fc33 100644
self.modes["LIST"] = LoadModule("Modules/BuildList")
self.modes["BUILD"] = LoadModule("Modules/Build")
-- if launch.devMode or GetScriptPath() == GetRuntimePath() then
-+ if launch.devMode and GetScriptPath() == GetRuntimePath() then
+- if launch.devMode or (GetScriptPath() == GetRuntimePath() and not launch.installedMode) then
++ if launch.devMode and (GetScriptPath() == GetRuntimePath() and not launch.installedMode) then
-- If running in dev mode or standalone mode, put user data in the script path
self.userPath = GetScriptPath().."/"
else