]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Merge branch 'z411/ready_improvements' into 'master'
authorterencehill <piuntn@gmail.com>
Thu, 3 Mar 2022 07:57:32 +0000 (07:57 +0000)
committerterencehill <piuntn@gmail.com>
Thu, 3 Mar 2022 07:57:32 +0000 (07:57 +0000)
Improvements for Ready system in warmup

See merge request xonotic/xonotic-data.pk3dir!966

1  2 
qcsrc/server/client.qc
qcsrc/server/command/cmd.qc

index 3af147c21374c52f3cec6aa3cc2e3c1d09b432f0,260967eb31c4cff85bc9a4b89a4770619ffcd8bf..8950854305c472ed3463d974bf28a8890da70cb6
@@@ -235,9 -235,10 +235,10 @@@ void setplayermodel(entity e, string mo
  }
  
  /** putting a client as observer in the server */
 -void PutObserverInServer(entity this, bool is_forced)
 +void PutObserverInServer(entity this, bool is_forced, bool use_spawnpoint)
  {
        bool mutator_returnvalue = MUTATOR_CALLHOOK(MakePlayerObserver, this, is_forced);
+       bool recount_ready = false;
        PlayerState_detach(this);
  
        if (IS_PLAYER(this))
Simple merge