mirror of
https://github.com/ineedbots/t6_bot_warfare.git
synced 2025-04-22 01:35:42 +00:00
fix runtime error
This commit is contained in:
parent
82d6b95de7
commit
8d3888fdd0
@ -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.
Loading…
x
Reference in New Issue
Block a user