Skip to content

Commit

Permalink
GH-91 Fix incorrectly passed moon creation chance to the moon creator
Browse files Browse the repository at this point in the history
  • Loading branch information
mdziekon committed May 17, 2020
1 parent a686bc5 commit e1ebcb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion includes/functions/MissionCaseAttack.php
Original file line number Diff line number Diff line change
Expand Up @@ -561,7 +561,7 @@ function MissionCaseAttack($FleetRow, &$_FleetCache)
$FleetRow['fleet_end_planet'],
$TargetUserID,
'',
$MoonChance
$moonCreationRollResult['boundedMoonChance']
);

if ($newMoonID !== false) {
Expand Down

0 comments on commit e1ebcb8

Please sign in to comment.