From: Mario Date: Mon, 18 Jun 2018 04:41:33 +0000 (+1000) Subject: Call a weapon frame on the weapon entity when the player is first spawning, fixes... X-Git-Tag: xonotic-v0.8.5~2020 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=45f054436991f634bbf5fa48de8652c4f6cc2390;p=xonotic%2Fxonotic-data.pk3dir.git Call a weapon frame on the weapon entity when the player is first spawning, fixes a call to activeweapon none --- diff --git a/qcsrc/server/client.qc b/qcsrc/server/client.qc index 42d72edf4..7125b949c 100644 --- a/qcsrc/server/client.qc +++ b/qcsrc/server/client.qc @@ -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);