# HG changeset patch # User unc0rr # Date 1387743602 -14400 # Node ID 5b10d119955ca3f4e76b04a58ed4c91ef8288164 # Parent ff07ac765f456eaff0b9efb33b1cdbf9bdea1801 Move to No_Gravity and add .cfg diff -r ff07ac765f45 -r 5b10d119955c share/hedgewars/Data/Scripts/Multiplayer/NoGravity.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 diff -r ff07ac765f45 -r 5b10d119955c share/hedgewars/Data/Scripts/Multiplayer/No_Gravity.cfg --- /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 diff -r ff07ac765f45 -r 5b10d119955c share/hedgewars/Data/Scripts/Multiplayer/No_Gravity.lua --- /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