fix runtime error

This commit is contained in:
ineedbots 2021-12-16 03:00:07 -06:00
parent 82d6b95de7
commit 8d3888fdd0
2 changed files with 3 additions and 3 deletions

View File

@ -103,7 +103,9 @@ trackplayedtime()
self.timePlayed["alive"] = 0;
if ( !isdefined( self.timePlayed["total"] ) || !( ( level.gameType == "twar" ) && ( 0 < game["roundsplayed"] ) && ( 0 < self.timeplayed["total"] ) ) )
if ( !isdefined( self.timePlayed["total"] ) )
self.timePlayed["total"] = 0;
else if ( ( level.gameType == "twar" ) && ( 0 < game["roundsplayed"] ) && ( 0 < self.timeplayed["total"] ) )
self.timePlayed["total"] = 0;
while ( level.inprematchperiod )
@ -235,8 +237,6 @@ updateteambalancedvar()
updateTeamBalance()
{
level.teamLimit = level.maxclients / 2;
level thread updateTeamBalanceDvar();
wait .15;

Binary file not shown.