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

Commit

Permalink
Merge pull request #169 from Qwatayean/patch-10
Browse files Browse the repository at this point in the history
vars factor 'Expedition' has no use
  • Loading branch information
mys authored Jun 26, 2018
2 parents ad4321a + e934b28 commit ed10b47
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion includes/classes/class.FleetFunctions.php
Original file line number Diff line number Diff line change
Expand Up @@ -82,7 +82,7 @@ private static function GetShipSpeed($Ship, $Player)

public static function getExpeditionLimit($USER)
{
return floor(sqrt($USER[$GLOBALS['resource'][124]]));
return floor(sqrt($USER[$GLOBALS['resource'][124]])) + $USER['factor']['Expedition'];
}

public static function getDMMissionLimit($USER)
Expand Down
2 changes: 1 addition & 1 deletion includes/pages/game/ShowFleetTablePage.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -193,7 +193,7 @@ public function show()
if ($techExpedition >= 1)
{
$activeExpedition = FleetFunctions::GetCurrentFleets($USER['id'], 15, true);
$maxExpedition = floor(sqrt($techExpedition));
$maxExpedition = floor(sqrt($techExpedition)) + $USER['factor']['Expedition'];
}
else
{
Expand Down

0 comments on commit ed10b47

Please sign in to comment.