From 39cbff3d3d688612d3bd10ee8f4682b2b1903a00 Mon Sep 17 00:00:00 2001 From: beu Date: Mon, 24 Jan 2022 21:32:28 +0100 Subject: [PATCH] minor fixes --- MatchManagerSuite/MatchManagerCore.php | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/MatchManagerSuite/MatchManagerCore.php b/MatchManagerSuite/MatchManagerCore.php index a32aacc..51dde1e 100644 --- a/MatchManagerSuite/MatchManagerCore.php +++ b/MatchManagerSuite/MatchManagerCore.php @@ -1442,7 +1442,9 @@ class MatchManagerCore implements CallbackListener, CommandListener, TimerListen Logger::log("Pause"); } else { $this->maniaControl->getChat()->sendInformation($this->chatprefix . '$o$iRound: ' . ($this->nbrounds + 1) . ' / ' . $this->settings_nbroundsbymap); - Logger::log("Round: " . ($this->nbrounds + 1) . ' / ' . $this->settings_nbroundsbymap); + if ($this->settings_nbroundsbymap != 1) { + Logger::log("Round: " . ($this->nbrounds + 1) . ' / ' . $this->settings_nbroundsbymap); + } } }); } @@ -1552,8 +1554,9 @@ class MatchManagerCore implements CallbackListener, CommandListener, TimerListen $this->preendroundscore = array(); if (!$this->pauseon && !$this->skipround) { 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++; + } else { + Logger::log("Round not counted because no one finished"); } } if ($this->skipround) {