fix round counter in cup mode
This commit is contained in:
		| @@ -1551,7 +1551,8 @@ class MatchManagerCore implements CallbackListener, CommandListener, TimerListen | ||||
| 					// | ||||
| 					$this->preendroundscore = array(); | ||||
| 					if (!$this->pauseon && !$this->skipround) { | ||||
| 						if ($this->currentgmbase != "Cup" || ($this->currentgmbase == "Cup" && isset($atleastonefinished) && $atleastonefinished)) { // Round is skipped if no one finishes only in cup mode | ||||
| 						if ($this->currentgmbase != "Cup" || ($this->currentgmbase == "Cup" && count($this->currentscore) > 0 && $this->currentscore[0][4] > 0)) { // Round is skipped if no one finishes only in cup mode | ||||
| 							Logger::log("Round not counted because no one finished"); | ||||
| 							$this->nbrounds++; | ||||
| 						} | ||||
| 					} | ||||
|   | ||||
		Reference in New Issue
	
	Block a user