mirror of
https://github.com/ineedbots/t6_bot_warfare.git
synced 2026-10-16 15:23:26 +00:00
fix runtime error
This commit is contained in:
1 parent
82d6b95de7
commit
8d3888fdd0
2 files changed
+3
-3
No files matched your search
@@ -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.
Reference in new issue
Block a user