hedgewars/uGears.pas
changeset 7391 588eabb4b384
parent 7389 15c3fb4882df
child 7395 d0d38cd0d27c
equal deleted inserted replaced
7389:15c3fb4882df 7391:588eabb4b384
   451         end;
   451         end;
   452 
   452 
   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 
       
   457 ScriptCall('onGameTick');
   456 ScriptCall('onGameTick');
   458 if GameTicks mod 20 = 0 then ScriptCall('onGameTick20');
   457 if GameTicks mod 20 = 0 then ScriptCall('onGameTick20');
   459 inc(GameTicks)
   458 inc(GameTicks)
   460 end;
   459 end;
   461 
   460