hedgewars/uGears.pas
changeset 7412 9e5aa3c8dc62
parent 7410 dc869f3187ca
child 7426 55b49cc1f33a
equal deleted inserted replaced
7410:dc869f3187ca 7412:9e5aa3c8dc62
   459         end;
   459         end;
   460 
   460 
   461     if (not CurrentTeam^.ExtDriven) or CurrentTeam^.hasGone then
   461     if (not CurrentTeam^.ExtDriven) or CurrentTeam^.hasGone then
   462         inc(hiTicks) // we do not recieve a message for this
   462         inc(hiTicks) // we do not recieve a message for this
   463     end;
   463     end;
   464 //AddRandomness(CheckSum);
   464 AddRandomness(CheckSum);
   465 ScriptCall('onGameTick');
   465 ScriptCall('onGameTick');
   466 if GameTicks mod 20 = 0 then ScriptCall('onGameTick20');
   466 if GameTicks mod 20 = 0 then ScriptCall('onGameTick20');
   467 inc(GameTicks)
   467 inc(GameTicks)
   468 end;
   468 end;
   469 
   469