Don't set gravity to normal immediately on turn end, let watchdog do its job if game gets frozen
--- a/share/hedgewars/Data/Scripts/Multiplayer/Gravity.lua Wed Jan 01 00:18:10 2014 -0500
+++ b/share/hedgewars/Data/Scripts/Multiplayer/Gravity.lua Wed Jan 01 13:22:46 2014 +0400
@@ -10,7 +10,7 @@
end
function onGameTick20()
- if (TurnTimeLeft < 20) or (TurnTimeLeft > 0 and wdGameTicks + 15000 < GameTime) then
+ if wdGameTicks + 15000 < GameTime then
SetGravity(100)
elseif wdTTL ~= TurnTimeLeft then
wdGameTicks = GameTime