From: Mario Date: Mon, 1 May 2017 09:55:35 +0000 (+1000) Subject: Reset dual weapons when spawning X-Git-Tag: xonotic-v0.8.5~2821 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=85ee0c0e1aaa7dfd84ca4e40edf6fb6ee1049dca;p=xonotic%2Fxonotic-data.pk3dir.git Reset dual weapons when spawning --- diff --git a/qcsrc/server/client.qc b/qcsrc/server/client.qc index 72ee5a7cd..b27ce6af9 100644 --- a/qcsrc/server/client.qc +++ b/qcsrc/server/client.qc @@ -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;