hedgewars/uGears.pas
changeset 4417 6bf00d99fc47
parent 4406 beb4de0af990
child 4443 d393b9ccd328
equal deleted inserted replaced
4416:29d2d1548387 4417:6bf00d99fc47
   854 
   854 
   855     if (not CurrentTeam^.ExtDriven) or CurrentTeam^.hasGone then
   855     if (not CurrentTeam^.ExtDriven) or CurrentTeam^.hasGone then
   856         inc(hiTicks) // we do not recieve a message for this
   856         inc(hiTicks) // we do not recieve a message for this
   857     end;
   857     end;
   858 
   858 
       
   859 ScriptCall('onGameTick');
   859 inc(GameTicks)
   860 inc(GameTicks)
   860 end;
   861 end;
   861 
   862 
   862 //Purpose, to reset all transient attributes toggled by a utility and clean up various gears and effects at end of turn
   863 //Purpose, to reset all transient attributes toggled by a utility and clean up various gears and effects at end of turn
   863 //If any of these are set as permanent toggles in the frontend, that needs to be checked and skipped here.
   864 //If any of these are set as permanent toggles in the frontend, that needs to be checked and skipped here.