From: terencehill Date: Tue, 16 Mar 2021 18:55:54 +0000 (+0100) Subject: Fix #2563 "Spectator freecam collision problem with all players leaving/going to... X-Git-Tag: xonotic-v0.8.5~503 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=5ba20e9c71f86228bc82e54c5badf563edd38853;p=xonotic%2Fxonotic-data.pk3dir.git Fix #2563 "Spectator freecam collision problem with all players leaving/going to spectator" --- diff --git a/qcsrc/server/client.qc b/qcsrc/server/client.qc index 74592b62c..1c9b3060d 100644 --- a/qcsrc/server/client.qc +++ b/qcsrc/server/client.qc @@ -2347,6 +2347,8 @@ void ObserverOrSpectatorThink(entity this) TRANSMUTE(Observer, this); PutClientInServer(this); } + else + this.would_spectate = false; // unable to spectate anyone if (is_spec) CS(this).impulse = 0; } else if (is_spec) {