mirror of
https://github.com/ineedbots/t5_bot_warfare.git
synced 2025-07-05 10:41:48 +00:00
Major update, remove the hacks, use builtin overrides
This commit is contained in:
@ -166,20 +166,6 @@ bot_give_loadout()
|
||||
self setOffhandSecondaryClass( self.pers["bot"]["class_tacticle"] );
|
||||
}
|
||||
|
||||
self thread fixSecondarySwitch( weap );
|
||||
}
|
||||
|
||||
/*
|
||||
Fixes the weapon on spawn for the bot
|
||||
*/
|
||||
fixSecondarySwitch( weap )
|
||||
{
|
||||
self endon( "death" );
|
||||
self endon( "disconnect" );
|
||||
self switchToWeapon( weap );
|
||||
self setSpawnWeapon( weap );
|
||||
wait 0.05;
|
||||
self switchToWeapon( weap );
|
||||
self setSpawnWeapon( weap );
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user