share/hedgewars/Data/Scripts/Multiplayer/HedgeEditor.lua
changeset 12287 faf1b93422ba
parent 12207 2de020695c20
child 12310 a2049a645e29
equal deleted inserted replaced
12286:b4dde7035fe2 12287:faf1b93422ba
  3669 	-- regardless of our other ammo, give stuff that is useful for editing
  3669 	-- regardless of our other ammo, give stuff that is useful for editing
  3670 	SetEditingWeps(100)
  3670 	SetEditingWeps(100)
  3671 	if GetHogLevel(CurrentHedgehog) == 0 then
  3671 	if GetHogLevel(CurrentHedgehog) == 0 then
  3672 		TurnTimeLeft = -1	-- is that turntime in your pocket? :D
  3672 		TurnTimeLeft = -1	-- is that turntime in your pocket? :D
  3673 	else
  3673 	else
  3674 		TurnTimeLeft = 1 -- skip the computer's turn
  3674 		ParseCommand("skip") -- skip the computer's turn
  3675 	end
  3675 	end
  3676 
  3676 
  3677 end
  3677 end
  3678 
  3678 
  3679 function onGameTick()
  3679 function onGameTick()