From d9beb001b1c8953b13d9a0bd8ee28aed36337b09 Mon Sep 17 00:00:00 2001 From: Tinydetoon Date: Thu, 24 Aug 2017 00:30:24 +0200 Subject: [PATCH] Fix fleet moving in mess bug --- system/Modules/Ares/Manager/CommanderManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/system/Modules/Ares/Manager/CommanderManager.php b/system/Modules/Ares/Manager/CommanderManager.php index 9bf15b8e1..b8c01a66c 100644 --- a/system/Modules/Ares/Manager/CommanderManager.php +++ b/system/Modules/Ares/Manager/CommanderManager.php @@ -480,7 +480,7 @@ public function getEventInfo(Commander $commander) { public function uChangeBase($commanderId) { $commander = $this->get($commanderId); $place = $this->placeManager->get($commander->rDestinationPlace); - $place->commanders = $this->getBaseCommanders($place->id); + $place->commanders = $this->getBaseCommanders($place->id,[Commander::AFFECTED,Commander::MOVING]); $commanderPlace = $this->placeManager->get($commander->rBase); $player = $this->playerManager->get($commander->rPlayer); $playerBonus = $this->playerBonusManager->getBonusByPlayer($player);