Skip to content

Commit

Permalink
May fixes jkroepke#328
Browse files Browse the repository at this point in the history
  • Loading branch information
jkroepke authored and Xer0fire committed Jan 31, 2018
1 parent 335d656 commit aaab68f
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 @@ -106,7 +106,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 aaab68f

Please sign in to comment.