share/hedgewars/Data/Scripts/Multiplayer/No_Jumping.lua
changeset 4893 353781305c07
parent 4662 63aafc9c2a81
child 5325 261b79ba22b1
--- a/share/hedgewars/Data/Scripts/Multiplayer/No_Jumping.lua	Mon Jan 31 08:45:05 2011 +0100
+++ b/share/hedgewars/Data/Scripts/Multiplayer/No_Jumping.lua	Mon Jan 31 21:59:59 2011 +0100
@@ -4,10 +4,14 @@
 
 loadfile(GetDataPath() .. "Scripts/Locale.lua")()
 
-function onGameStart()
-	ShowMission(loc("NO JUMPING"), loc("- Jumping is disabled"), loc("Good luck out there!"), 0, 0)
+function onGameInit()
+    Goals = loc("Jumping is disabled")
 end
 
+--function onGameStart()
+--	ShowMission(loc("NO JUMPING"), loc("- Jumping is disabled"), loc("Good luck out there!"), 0, 0)
+--end
+
 function onNewTurn()
 	SetInputMask(band(0xFFFFFFFF, bnot(gmLJump + gmHJump)))
 end