more script fixes

This commit is contained in:
ineedbots
2021-11-11 23:13:37 -06:00
parent 18c67cb334
commit 97236e2e5f
3 changed files with 53 additions and 5 deletions

View File

@ -231,8 +231,10 @@ waitForChangeTeam()
for ( ;; )
{
self waittill ( "joined_team" );
clearKillstreaks();
self clearUsingRemote();
self clearKillstreaks();
if ( self isUsingRemote() )
self clearUsingRemote();
}
}
@ -861,7 +863,9 @@ clearRideIntro( delay )
destroyOnEvents(elem)
{
self waittill_either("disconnect", "start_killstreak_hud");
elem destroy();
if ( isDefined( elem ) )
elem destroy();
}
initKillstreakHud(inity)