author | antonc27 <antonc27@mail.ru> |
Tue, 03 May 2016 22:19:17 +0200 | |
changeset 11807 | 975c130c3901 |
parent 11806 | ae58d7ad0d97 |
child 11808 | d85d273cb3aa |
--- 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}