hedgewars/uGears.pas
changeset 13031 bef97cc310b0
parent 12938 b075ad6112c9
child 13096 d78e65c66573
--- a/hedgewars/uGears.pas	Sat Feb 17 20:51:36 2018 +0100
+++ b/hedgewars/uGears.pas	Sat Feb 17 20:59:56 2018 +0100
@@ -255,7 +255,8 @@
 case step of
     stInit:
         begin
-        ScriptCall('onEndTurn');
+        if (not bBetweenTurns) and (not isInMultiShoot) then
+            ScriptCall('onEndTurn');
         inc(step)
         end;
     stDelay: