share/hedgewars/Data/Scripts/Multiplayer/Construction_Mode.lua
changeset 11721 c7cdd98bb1ec
parent 11720 511d0f2aa9bf
child 11722 f35139700d22
equal deleted inserted replaced
11720:511d0f2aa9bf 11721:c7cdd98bb1ec
  1633 
  1633 
  1634 
  1634 
  1635 end
  1635 end
  1636 
  1636 
  1637 function showModeMessage()
  1637 function showModeMessage()
       
  1638 	if CurrentHedgehog == nil then return end
  1638 	local val = pMode[pIndex]
  1639 	local val = pMode[pIndex]
  1639 	local str
  1640 	local str
  1640 	if cat[cIndex] == "Mine Placement Mode" then
  1641 	if cat[cIndex] == "Mine Placement Mode" then
  1641 		-- timer in seconds
  1642 		-- timer in seconds
  1642 		str = string.format(loc("%d sec"), div(val, 1000))
  1643 		str = string.format(loc("%d sec"), div(val, 1000))