# HG changeset patch # User nemo # Date 1525013222 14400 # Node ID 5f6208031658469aa6ad868cbf68504e5d1bde8d # Parent e7b89e87a1b3d7299c80b17c3cefc676aeaddb6e Back out 12847:1aba77b2e4ac This both does NOT fix the seed mismatch with shoppa map preview *AND* breaks otherwise identical scripts with different file encodings due to multiple lua calls. diff -r e7b89e87a1b3 -r 5f6208031658 hedgewars/uScript.pas --- a/hedgewars/uScript.pas Sun Apr 29 09:24:14 2018 -0400 +++ b/hedgewars/uScript.pas Sun Apr 29 10:47:02 2018 -0400 @@ -3323,7 +3323,6 @@ var mybuf: PChar; i: LongInt; begin - SetRandomSeed(cSeed,true); mybuf := physfsReader(L, f, sz); if (mybuf <> nil) and ((sz^) > 0) then begin