]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/cl_client.qc
Alternative fix: don't modify the player state if it's not owned by the client
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / cl_client.qc
index a37227d03024614a464ff56e4b27167b832ae72b..c212691db7598c912f8841085243c918d7e5db7d 100644 (file)
@@ -218,8 +218,7 @@ void FixPlayermodel(entity player);
 void PutObserverInServer(entity this)
 {
     bool mutator_returnvalue = MUTATOR_CALLHOOK(MakePlayerObserver, this);
-    if(IS_PLAYER(this)) // our own state
-               PlayerState_detach(this);
+       PlayerState_detach(this);
 
        if (IS_PLAYER(this) && this.health >= 1) {
         // despawn effect