share/hedgewars/Data/Scripts/Multiplayer/WxW.lua
changeset 12624 705dde538519
parent 12287 faf1b93422ba
child 12933 e65aa3c3d4e6
equal deleted inserted replaced
12623:c8edce7e5f18 12624:705dde538519
  1548 				loc("Wall to wall"),
  1548 				loc("Wall to wall"),
  1549 				loc("Configuration phase"),
  1549 				loc("Configuration phase"),
  1550 				preMenuCfg..
  1550 				preMenuCfg..
  1551 				missionComment ..
  1551 				missionComment ..
  1552 				postMenuCfg ..
  1552 				postMenuCfg ..
  1553 				"", 2, 300000
  1553 				"", 2, 9999000
  1554 				)
  1554 				)
  1555 
  1555 
  1556 	menu[menuIndex].line = temp
  1556 	menu[menuIndex].line = temp
  1557 
  1557 
  1558 end
  1558 end
  1618 
  1618 
  1619 	end
  1619 	end
  1620 
  1620 
  1621 end
  1621 end
  1622 
  1622 
       
  1623 local menuRepeatTimer = 0
       
  1624 function onGameTick20()
       
  1625   -- Make sure the menu doesn't disappear while it is active
       
  1626   if roundN == 1 then
       
  1627     menuRepeatTimer = menuRepeatTimer + 20
       
  1628     if menuRepeatTimer > 9990000 then
       
  1629       HandleStartingStage()
       
  1630       menuRepeatTimer = 0
       
  1631     end
       
  1632   end
       
  1633 end
       
  1634 
  1623 function onGearAdd(gear)
  1635 function onGearAdd(gear)
  1624 
  1636 
  1625 	if GetGearType(gear) == gtRope then
  1637 	if GetGearType(gear) == gtRope then
  1626 		ropeG = gear
  1638 		ropeG = gear
  1627 	elseif GetGearType(gear) == gtCase then
  1639 	elseif GetGearType(gear) == gtCase then