diff --git a/includes/pages/game/ShowFleetAjaxPage.class.php b/includes/pages/game/ShowFleetAjaxPage.class.php index 68a1b3af6..66f51108e 100644 --- a/includes/pages/game/ShowFleetAjaxPage.class.php +++ b/includes/pages/game/ShowFleetAjaxPage.class.php @@ -189,6 +189,11 @@ public function show() if($UserDeuterium < 0) { $this->sendData(613, $LNG['fa_not_enough_fuel']); } + + $PlanetRess = new ResourceUpdate(); + $PlanetRess->CalcResource($USER, $PLANET, true); + $PLANET[$resource[903]] -= $consumption; + $PlanetRess->SavePlanetToDB($USER, $PLANET); if($consumption > FleetFunctions::GetFleetRoom($fleetArray)) { $this->sendData(613, $LNG['fa_no_fleetroom']);