]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
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 72ee5a7cd4c486d641370481f3797c27b7c5f20b..b27ce6af9bc14dc2010720dc5571eafb7b59cbaa 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;