aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Classes/UMain.pas
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--Game/Code/Classes/UMain.pas7
1 files changed, 3 insertions, 4 deletions
diff --git a/Game/Code/Classes/UMain.pas b/Game/Code/Classes/UMain.pas
index a0bdbb94..768917ca 100644
--- a/Game/Code/Classes/UMain.pas
+++ b/Game/Code/Classes/UMain.pas
@@ -152,13 +152,12 @@ procedure Main;
var
WndTitle: string;
begin
-{$IFDEF DARWIN}
- UMacResources.init;
-{$ENDIF}
try
WndTitle := USDXVersionStr;
- if Platform.TerminateIfAlreadyRunning( {var} WndTitle) then
+ Platform.Init;
+
+ if Platform.TerminateIfAlreadyRunning(WndTitle) then
Exit;
// fix floating-point exceptions (FPE)