]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Call a weapon frame on the weapon entity when the player is first spawning, fixes...
authorMario <mario@smbclan.net>
Mon, 18 Jun 2018 04:41:33 +0000 (14:41 +1000)
committerMario <mario@smbclan.net>
Mon, 18 Jun 2018 04:41:33 +0000 (14:41 +1000)
qcsrc/server/client.qc

index 42d72edf415e00183eb1236bef310a6361f8461b..7125b949c45e4fea053bde94cc3a3b4db9094b98 100644 (file)
@@ -751,6 +751,8 @@ void PutPlayerInServer(entity this)
                this.(weaponentity).weaponname = "";
                this.(weaponentity).m_switchingweapon = WEP_Null;
                this.(weaponentity).cnt = -1;
+
+               W_WeaponFrame(this, weaponentity);
        }
 
        MUTATOR_CALLHOOK(PlayerWeaponSelect, this);