equal
deleted
inserted
replaced
482 return true |
482 return true |
483 end |
483 end |
484 |
484 |
485 function onNewTurn() |
485 function onNewTurn() |
486 if AnimInProgress() then |
486 if AnimInProgress() then |
487 TurnTimeLeft = -1 |
487 SetTurnTimeLeft(cMaxTurnTime) |
488 return |
488 return |
489 end |
489 end |
490 -- Don't allow player to play with traitor, except when it is the final hog left |
490 -- Don't allow player to play with traitor, except when it is the final hog left |
491 if CurrentHedgehog == traitor and not IsEveryoneExceptTraitorDead() then |
491 if CurrentHedgehog == traitor and not IsEveryoneExceptTraitorDead() then |
492 EndTurn(true) |
492 EndTurn(true) |
493 else |
493 else |
494 TurnTimeLeft = -1 |
494 SetTurnTimeLeft(cMaxTurnTime) |
495 end |
495 end |
496 end |
496 end |
497 |
497 |
498 function onPrecise() |
498 function onPrecise() |
499 if GameTime > 2500 then |
499 if GameTime > 2500 then |