diff -r ae58d7ad0d97 -r 975c130c3901 hedgewars/uLocale.pas --- a/hedgewars/uLocale.pas Tue May 03 13:20:35 2016 -0400 +++ b/hedgewars/uLocale.pas Tue May 03 22:19:17 2016 +0200 @@ -142,6 +142,8 @@ //normally this var set in preInit of engine allOK := true; + uVariables.initModule; + PathPrefix:= PathPrefix + #0; UserPathPrefix:= UserPathPrefix + #0; uPhysFSLayer.initModule(@PathPrefix[1], @UserPathPrefix[1]); @@ -151,6 +153,7 @@ LoadLocale(Strpas(filename)); uPhysFSLayer.freeModule; + uVariables.freeModule; end; {$ENDIF}