Skip to content

Commit

Permalink
GH-91 Rename pillage calculating function to better describe its nature
Browse files Browse the repository at this point in the history
  • Loading branch information
mdziekon committed Mar 25, 2020
1 parent 775b51d commit d35d237
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/flights/utils/missions.utils.php
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
* @param number $props['maxPillagePercentage']
* @param number $props['fleetTotalStorage']
*/
function calculateResourcesPillage ($props) {
function calculateEvenResourcesPillage ($props) {
$planet = $props['planet'];
$maxPillagePercentage = $props['maxPillagePercentage'];
$fleetTotalStorage = $props['fleetTotalStorage'];
Expand Down

0 comments on commit d35d237

Please sign in to comment.