share/hedgewars/Data/Scripts/Multiplayer/Capture_the_Flag.lua
changeset 11904 930f57e70b49
parent 11881 34ede05e4d4f
child 11905 71ebc4c19b7f
equal deleted inserted replaced
11903:46a65decb287 11904:930f57e70b49
   542 			i = 0
   542 			i = 0
   543 		elseif GetHogClan(CurrentHedgehog) == 1 then
   543 		elseif GetHogClan(CurrentHedgehog) == 1 then
   544 			i = 1
   544 			i = 1
   545 		end
   545 		end
   546 
   546 
   547 		fSpawnX[i] = GetX(CurrentHedgehog)
   547 		if TurnTimeLeft == 0 then
   548 		fSpawnY[i] = GetY(CurrentHedgehog)
   548 			fSpawnX[i] = GetX(CurrentHedgehog)
       
   549 			fSpawnY[i] = GetY(CurrentHedgehog)
       
   550 		end
   549 
   551 
   550 	end
   552 	end
   551 
   553 
   552 end
   554 end
   553 
   555