mirror of
https://github.com/ChocoTaco1/TacoServer.git
synced 2026-01-19 16:14:44 +00:00
Added Overtime Reset
This commit is contained in:
parent
14caa5aca5
commit
d24df745ab
|
|
@ -952,6 +952,9 @@ function CTFGame::gameOver(%game)
|
|||
}
|
||||
for(%j = 1; %j <= %game.numTeams; %j++)
|
||||
$TeamScore[%j] = 0;
|
||||
|
||||
%game.voteOT = 0;
|
||||
%game.overtime = 0;
|
||||
}
|
||||
|
||||
function CTFGame::onClientDamaged(%game, %clVictim, %clAttacker, %damageType, %implement, %damageLoc)
|
||||
|
|
|
|||
|
|
@ -689,6 +689,9 @@ function LCTFGame::gameOver(%game)
|
|||
|
||||
if (isActivePackage(LCTFOneMine))
|
||||
deactivatePackage(LCTFOneMine);
|
||||
|
||||
%game.voteOT = 0;
|
||||
%game.overtime = 0;
|
||||
}
|
||||
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue