share/hedgewars/Data/Scripts/Multiplayer/Capture_the_Flag.lua
changeset 11909 930f57e70b49
parent 11886 34ede05e4d4f
child 11910 71ebc4c19b7f
--- a/share/hedgewars/Data/Scripts/Multiplayer/Capture_the_Flag.lua	Thu Nov 17 03:47:28 2016 +0100
+++ b/share/hedgewars/Data/Scripts/Multiplayer/Capture_the_Flag.lua	Thu Nov 17 14:05:12 2016 +0100
@@ -544,8 +544,10 @@
 			i = 1
 		end
 
-		fSpawnX[i] = GetX(CurrentHedgehog)
-		fSpawnY[i] = GetY(CurrentHedgehog)
+		if TurnTimeLeft == 0 then
+			fSpawnX[i] = GetX(CurrentHedgehog)
+			fSpawnY[i] = GetY(CurrentHedgehog)
+		end
 
 	end