X-Git-Url: https://de.git.xonotic.org/?p=xonotic%2Fxonotic-data.pk3dir.git;a=blobdiff_plain;f=qcsrc%2Fcommon%2Fstate.qc;fp=qcsrc%2Fcommon%2Fstate.qc;h=14b22e991cceed2ad0bccdd2222ee899fbcab040;hp=0f40acfc6856b65ad68446091b5a9142d3d16e13;hb=395c6af01df94be06f8be871034711b61f47141f;hpb=343b0a7724f0f65d4b0454bf746b3d6cb003f1b2 diff --git a/qcsrc/common/state.qc b/qcsrc/common/state.qc index 0f40acfc68..14b22e991c 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);