equal
deleted
inserted
replaced
453 if (not CurrentTeam^.ExtDriven) or CurrentTeam^.hasGone then |
453 if (not CurrentTeam^.ExtDriven) or CurrentTeam^.hasGone then |
454 inc(hiTicks) // we do not recieve a message for this |
454 inc(hiTicks) // we do not recieve a message for this |
455 end; |
455 end; |
456 |
456 |
457 ScriptCall('onGameTick'); |
457 ScriptCall('onGameTick'); |
|
458 if GameTicks mod 20 = 0 then ScriptCall('onGameTick20'); |
458 inc(GameTicks) |
459 inc(GameTicks) |
459 end; |
460 end; |
460 |
461 |
461 //Purpose, to reset all transient attributes toggled by a utility and clean up various gears and effects at end of turn |
462 //Purpose, to reset all transient attributes toggled by a utility and clean up various gears and effects at end of turn |
462 //If any of these are set as permanent toggles in the frontend, that needs to be checked and skipped here. |
463 //If any of these are set as permanent toggles in the frontend, that needs to be checked and skipped here. |