author | unc0rr |
Mon, 05 Jan 2015 01:38:46 +0300 | |
changeset 10758 | 0f3a0f117810 |
parent 10755 | f78a5ca6e0af |
child 10760 | fcef7d62d3c4 |
child 10761 | fc37b9df2b03 |
share/hedgewars/Data/Scripts/Multiplayer/Gravity.lua | file | annotate | diff | comparison | revisions |
--- a/share/hedgewars/Data/Scripts/Multiplayer/Gravity.lua Sun Jan 04 23:45:55 2015 +0300 +++ b/share/hedgewars/Data/Scripts/Multiplayer/Gravity.lua Mon Jan 05 01:38:46 2015 +0300 @@ -41,7 +41,7 @@ if delta == nil then if periodtimer == 0 then periodtimer = period * 2 - SetGravity(div(GetRandom(maxgravity - mingravity) + mingravity, mln)) + SetGravity(div(GetRandom(maxgravity - mingravity + 1) + mingravity, mln)) else periodtimer = periodtimer - 1 end