hedgewars/uScript.pas
changeset 13824 552f0d5ab3e7
parent 13812 e2d902745fd5
child 13835 0beff00d223a
--- a/hedgewars/uScript.pas	Tue Sep 18 19:30:55 2018 -0400
+++ b/hedgewars/uScript.pas	Tue Sep 18 19:38:58 2018 -0400
@@ -3654,7 +3654,7 @@
 hedgewarsMountPackage(Str2PChar(copy(s, 3, length(s)-6)+'.hwp'));
 
 physfsReaderSetBuffer(@buf);
-if Pos('Locale/',s) <> 0 then
+if (Pos('Locale/',s) <> 0) or (s = 'Scripts/OfficialChallengeHashes.lua') then
      ret:= lua_load(luaState, @ScriptLocaleReader, f, Str2PChar(s))
 else
 	begin