Removed now unnecessary Chat-Notification for new GameMode-Settings

This commit is contained in:
Alexander Nell 2020-04-30 14:40:45 +02:00
parent 2e6dd5efd5
commit 047f05124b

View File

@ -510,10 +510,6 @@ class GameModeSettings implements ConfiguratorMenu, CallbackListener, Communicat
$statement->bind_param('iss', $this->maniaControl->getServer()->index, $settingName, $settingValue); $statement->bind_param('iss', $this->maniaControl->getServer()->index, $settingName, $settingValue);
// Notifications // Notifications
if (!$this->maniaControl->getServer()->getScriptManager()->isScriptMode()) {
$this->maniaControl->getChat()->sendInformation('Changes will only take effect after a map skip or restart!', $player);
}
$settingsCount = count($newSettings); $settingsCount = count($newSettings);
$settingIndex = 0; $settingIndex = 0;
$title = $this->maniaControl->getAuthenticationManager()->getAuthLevelName($player); $title = $this->maniaControl->getAuthenticationManager()->getAuthLevelName($player);