hedgewars/uLand.pas
changeset 10022 eb981a03de90
parent 10018 bdf75f0350bd
child 10040 4ac87acbaed9
--- a/hedgewars/uLand.pas	Sun Jan 19 17:53:16 2014 +0100
+++ b/hedgewars/uLand.pas	Mon Jan 20 00:25:40 2014 +0400
@@ -31,7 +31,7 @@
 implementation
 uses uConsole, uStore, uRandom, uLandObjects, uIO, uLandTexture, SysUtils,
      uVariables, uUtils, uCommands, adler32, uDebug, uLandPainted, uTextures,
-     uLandGenMaze, uLandOutline, uPhysFSLayer;
+     uLandGenMaze, uLandOutline, uPhysFSLayer, uScript;
 
 var digest: shortstring;
 
@@ -886,6 +886,8 @@
         adler:= Adler32Update(adler, @Land[i,0], LAND_WIDTH);
     s:= 'M' + IntToStr(adler) + cScriptName;
 
+    ScriptSetString('LandDigest', s);
+
     chLandCheck(s);
     SendIPCRaw(@s[0], Length(s) + 1)
 end;