equal
deleted
inserted
replaced
15 local script2_onGameTick20 |
15 local script2_onGameTick20 |
16 local script2_onGameStart |
16 local script2_onGameStart |
17 |
17 |
18 |
18 |
19 function grav_onNewTurn() |
19 function grav_onNewTurn() |
20 SetGravity(gravity) |
20 if delta ~= nil and period == nil then |
|
21 SetGravity(gravity) |
|
22 else |
|
23 SetGravity(div(gravity, mln)) |
|
24 end |
|
25 |
21 wdGameTicks = GameTime |
26 wdGameTicks = GameTime |
22 |
27 |
23 if script2_onNewTurn ~= nil then |
28 if script2_onNewTurn ~= nil then |
24 script2_onNewTurn() |
29 script2_onNewTurn() |
25 end |
30 end |