fix up errors

This commit is contained in:
ineedbots
2021-11-10 15:54:34 -06:00
parent 9fa8506daf
commit d34c33e74b
3 changed files with 33 additions and 22 deletions

View File

@ -702,8 +702,11 @@ giveKillstreakWeapon( weapon )
self takeWeapon( item );
}
self _giveWeapon( weapon, 0 );
self _setActionSlot( 4, "weapon", weapon );
if ( isDefined( weapon ) && weapon != "" )
{
self _giveWeapon( weapon, 0 );
self _setActionSlot( 4, "weapon", weapon );
}
}