]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Disable ready flag when going to spect
authorz411 <z411@omaera.org>
Tue, 18 Jan 2022 20:35:40 +0000 (17:35 -0300)
committerz411 <z411@omaera.org>
Tue, 18 Jan 2022 20:35:40 +0000 (17:35 -0300)
qcsrc/server/client.qc

index 5d5afe3cb53c3ae2926f5ce327e5de8cff541588..260967eb31c4cff85bc9a4b89a4770619ffcd8bf 100644 (file)
@@ -253,6 +253,7 @@ void PutObserverInServer(entity this, bool is_forced)
                if(IS_REAL_CLIENT(this))
                {
                        if (vote_called) { VoteCount(false); }
+                       this.ready = false;
                        recount_ready = true;
                }
                entcs_update_players(this);