Skip to content
This repository has been archived by the owner on Nov 24, 2021. It is now read-only.

Commit

Permalink
May fixes #328
Browse files Browse the repository at this point in the history
  • Loading branch information
jkroepke committed Jan 31, 2018
1 parent 42370b3 commit a17bb17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/pages/game/ShowBuildingsPage.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ private function RemoveBuildingFromQueue($QueueID)
if($Element == $ListIDArray[0] || empty($ListIDArray[0]))
continue;

$BuildEndTime += BuildFunctions::getBuildingTime($USER, $PLANET, $ListIDArray[0], NULL, $ListIDArray[4] == 'destroy', $ListIDArray[2]);
$BuildEndTime += BuildFunctions::getBuildingTime($USER, $PLANET, $ListIDArray[0], NULL, $ListIDArray[4] == 'destroy', $ListIDArray[1]);
$ListIDArray[3] = $BuildEndTime;
$NewQueueArray[] = $ListIDArray;
}
Expand Down

0 comments on commit a17bb17

Please sign in to comment.