X-Git-Url: https://de.git.xonotic.org/?a=blobdiff_plain;f=qcsrc%2Fcommon%2Fstate.qc;h=14b22e991cceed2ad0bccdd2222ee899fbcab040;hb=331cda6842c09216c8d7b65cd53a3f9a4d80b356;hp=0f40acfc6856b65ad68446091b5a9142d3d16e13;hpb=ad2d918472c84295255fba550959b58cacc9cfb1;p=xonotic%2Fxonotic-data.pk3dir.git diff --git a/qcsrc/common/state.qc b/qcsrc/common/state.qc index 0f40acfc6..14b22e991 100644 --- a/qcsrc/common/state.qc +++ b/qcsrc/common/state.qc @@ -5,7 +5,7 @@ void Inventory_delete(entity this); void PlayerState_attach(entity this) { - if (PS(this)) + if (PS(this) && PS(this).m_client == this) return; this._ps = NEW(PlayerState, this);