share/hedgewars/Data/Scripts/Multiplayer/No_Jumping.lua
changeset 4662 63aafc9c2a81
child 4893 353781305c07
equal deleted inserted replaced
4661:f5d858e4b634 4662:63aafc9c2a81
       
     1 --------------------------------
       
     2 -- NO JUMPING
       
     3 --------------------------------
       
     4 
       
     5 loadfile(GetDataPath() .. "Scripts/Locale.lua")()
       
     6 
       
     7 function onGameStart()
       
     8 	ShowMission(loc("NO JUMPING"), loc("- Jumping is disabled"), loc("Good luck out there!"), 0, 0)
       
     9 end
       
    10 
       
    11 function onNewTurn()
       
    12 	SetInputMask(band(0xFFFFFFFF, bnot(gmLJump + gmHJump)))
       
    13 end
       
    14 
       
    15 
       
    16