# HG changeset patch # User unc0rr # Date 1387739862 -14400 # Node ID e71188c140ee10b2e5944f958c2ff64bbd03a45c # Parent d4621fb762844eae802a22eb9a7d4585efb49acc No gravity mode diff -r d4621fb76284 -r e71188c140ee share/hedgewars/Data/Scripts/Multiplayer/NoGravity.lua --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/share/hedgewars/Data/Scripts/Multiplayer/NoGravity.lua Sun Dec 22 23:17:42 2013 +0400 @@ -0,0 +1,9 @@ +function onNewTurn() + SetGravity(0) +end + +function onGameTick20() + if TurnTimeLeft < 20 then + SetGravity(100) + end +end