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.
--- 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