Fixed a bug in which weapons weren't wiped when switching teams during a match

This commit is contained in:
Marco Cawthorne 2017-01-09 22:45:18 +01:00
parent f8c0518292
commit 8d6a6477f9
2 changed files with 5 additions and 0 deletions

View file

@ -193,6 +193,11 @@ void CSEv_GamePlayerSpawn_f( float fChar ) {
}
}
self.fSlotMelee = 0;
self.fSlotPrimary = 0;
self.fSlotSecondary = 0;
self.fSlotGrenade = 0;
// Spawn the players immediately when its in the freeze state
switch ( fGameState ) {
case GAME_FREEZE:

Binary file not shown.