Reset dual weapons when spawning
authorMario <mario@smbclan.net>
Mon, 1 May 2017 09:55:35 +0000 (19:55 +1000)
committerMario <mario@smbclan.net>
Mon, 1 May 2017 09:55:35 +0000 (19:55 +1000)
qcsrc/server/client.qc

index 72ee5a7..b27ce6a 100644 (file)
@@ -573,6 +573,8 @@ void PutClientInServer(entity this)
                }
                SetSpectatee_status(this, 0);
 
+               this.dual_weapons = '0 0 0';
+
                this.superweapons_finished = (this.weapons & WEPSET_SUPERWEAPONS) ? time + autocvar_g_balance_superweapons_time : 0;
 
                this.items = start_items;