aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Game/Code/Classes/UIni.pas3
1 files changed, 2 insertions, 1 deletions
diff --git a/Game/Code/Classes/UIni.pas b/Game/Code/Classes/UIni.pas
index abbef723..e4f5e823 100644
--- a/Game/Code/Classes/UIni.pas
+++ b/Game/Code/Classes/UIni.pas
@@ -174,6 +174,7 @@ uses //UFiles,
UMain,
SDL,
ULanguage,
+ UPlatform,
USkins,
URecord,
UCommandLine;
@@ -197,7 +198,7 @@ var
end;
begin
- GamePath := ExtractFilePath(ParamStr(0));
+ GamePath := Platform.GetGameUserPath;
if (Params.ConfigFile <> '') then
try