remove space in the word gamemode
This commit is contained in:
parent
a4713b53c0
commit
df7353fc4f
@ -617,7 +617,7 @@ class MatchManagerCore implements CallbackListener, CommandListener, TimerListen
|
|||||||
} else if ($setting->setting == self::SETTING_MATCH_CUSTOM_GAMEMODE && $setting->value != $this->currentcustomgm) {
|
} else if ($setting->setting == self::SETTING_MATCH_CUSTOM_GAMEMODE && $setting->value != $this->currentcustomgm) {
|
||||||
$setting->value = $this->currentcustomgm;
|
$setting->value = $this->currentcustomgm;
|
||||||
$this->maniaControl->getSettingManager()->saveSetting($setting);
|
$this->maniaControl->getSettingManager()->saveSetting($setting);
|
||||||
$this->maniaControl->getChat()->sendErrorToAdmins($this->chatprefix . 'You can\'t change the Custom Game Mode during a Match');
|
$this->maniaControl->getChat()->sendErrorToAdmins($this->chatprefix . 'You can\'t change the Custom Gamemode during a Match');
|
||||||
} else if ($setting->setting == self::SETTING_MATCH_SETTINGS_MODE && $setting->value != $this->currentsettingmode) {
|
} else if ($setting->setting == self::SETTING_MATCH_SETTINGS_MODE && $setting->value != $this->currentsettingmode) {
|
||||||
$setting->value = $this->currentsettingmode;
|
$setting->value = $this->currentsettingmode;
|
||||||
$this->maniaControl->getSettingManager()->saveSetting($setting);
|
$this->maniaControl->getSettingManager()->saveSetting($setting);
|
||||||
|
Loading…
Reference in New Issue
Block a user