diff --git a/includes/helpers/world/elements.cost.functions.php b/includes/helpers/world/elements.cost.functions.php index 1ce96732d..17ba2c403 100644 --- a/includes/helpers/world/elements.cost.functions.php +++ b/includes/helpers/world/elements.cost.functions.php @@ -45,16 +45,16 @@ function getElementUserCostBase($elementID) { switch ($costResource) { case 'darkEnergy': if (!isset($_Vars_PremiumBuildingPrices[$elementID])) { - continue; + break; } if ($_Vars_PremiumBuildingPrices[$elementID] <= 0) { - continue; + break; } $baseCost[$costResource] = $_Vars_PremiumBuildingPrices[$elementID]; - continue; + break; } }