Move to No_Gravity and add .cfg
authorunc0rr
Mon, 23 Dec 2013 00:20:02 +0400
changeset 9819 5b10d119955c
parent 9818 ff07ac765f45
child 9820 1c04ccb9e5fd
Move to No_Gravity and add .cfg
share/hedgewars/Data/Scripts/Multiplayer/NoGravity.lua
share/hedgewars/Data/Scripts/Multiplayer/No_Gravity.cfg
share/hedgewars/Data/Scripts/Multiplayer/No_Gravity.lua
--- a/share/hedgewars/Data/Scripts/Multiplayer/NoGravity.lua	Sun Dec 22 15:11:13 2013 -0500
+++ /dev/null	Thu Jan 01 00:00:00 1970 +0000
@@ -1,9 +0,0 @@
-function onNewTurn()
-    SetGravity(0)
-end
-
-function onGameTick20()
-    if TurnTimeLeft < 20 then
-        SetGravity(100)
-    end
-end
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Scripts/Multiplayer/No_Gravity.cfg	Mon Dec 23 00:20:02 2013 +0400
@@ -0,0 +1,2 @@
+Default
+Default
--- /dev/null	Thu Jan 01 00:00:00 1970 +0000
+++ b/share/hedgewars/Data/Scripts/Multiplayer/No_Gravity.lua	Mon Dec 23 00:20:02 2013 +0400
@@ -0,0 +1,9 @@
+function onNewTurn()
+    SetGravity(0)
+end
+
+function onGameTick20()
+    if TurnTimeLeft < 20 then
+        SetGravity(100)
+    end
+end