send state to production at the end of the pick and ban
This commit is contained in:
@@ -264,6 +264,7 @@ class MatchManagerPickAndBan implements ManialinkPageAnswerListener, CallbackLis
|
|||||||
$this->log("Pick & ban are over");
|
$this->log("Pick & ban are over");
|
||||||
$this->state->status = MatchManagerPickAndBan_State::STATUS_COMPLETED;
|
$this->state->status = MatchManagerPickAndBan_State::STATUS_COMPLETED;
|
||||||
$this->clearManialinks();
|
$this->clearManialinks();
|
||||||
|
$this->sendStateToProduction();
|
||||||
|
|
||||||
if ($this->maniaControl->getSettingManager()->getSettingValue($this, self::SETTING_STARTMATCHAUTOMATICALLY)) {
|
if ($this->maniaControl->getSettingManager()->getSettingValue($this, self::SETTING_STARTMATCHAUTOMATICALLY)) {
|
||||||
$this->log("Automatically starting the match");
|
$this->log("Automatically starting the match");
|
||||||
|
|||||||
Reference in New Issue
Block a user