share/hedgewars/Data/Scripts/Multiplayer/Gravity.lua
changeset 9902 eb8e8b09b2f0
parent 9898 b87695f82d2e
child 9906 93c16a4b0c6a
--- a/share/hedgewars/Data/Scripts/Multiplayer/Gravity.lua	Wed Jan 01 13:42:38 2014 +0400
+++ b/share/hedgewars/Data/Scripts/Multiplayer/Gravity.lua	Wed Jan 01 14:16:01 2014 +0400
@@ -21,8 +21,7 @@
 end
 
 function onGameInit()
-    gravity = GetAwayTime
-    GetAwayTime = 100
+    gravity = ScriptParam
 end
 
 function onGameStart()
@@ -30,4 +29,4 @@
                 loc("Current value is ") .. gravity .. "%",
                 loc("Set any gravity value you want by adjusting get away time"),
                 0, 5000)
-end
\ No newline at end of file
+end