diff --git a/app/Console/Kernel.php b/app/Console/Kernel.php index a55bc2d75..1167a3e45 100644 --- a/app/Console/Kernel.php +++ b/app/Console/Kernel.php @@ -62,9 +62,6 @@ class Kernel extends ConsoleKernel $schedule->command('services:HoldingJournal') ->hourlyAt('45') ->withoutOverlapping(); - //$schedule->command('services:GetFinances') - // ->hourlyAt('35') - // ->withoutOverlapping(); /** * Get Information Schedule diff --git a/app/Library/Moons/MoonCalc.php b/app/Library/Moons/MoonCalc.php index f4ff79b20..243249a66 100644 --- a/app/Library/Moons/MoonCalc.php +++ b/app/Library/Moons/MoonCalc.php @@ -342,8 +342,6 @@ class MoonCalc { //Check to see what type of moon goo the moon is $gasMoonOre = $this->IsGasMoonGoo($ore); - - //Find the size of the asteroid from the database $m3Size = DB::table('ItemComposition')->where('Name', $ore)->value('m3Size'); @@ -358,7 +356,7 @@ class MoonCalc { //If the ore is a gas ore, then take only 50% of the price. if($gasMoonOre == true) { - $totalPrice = $units * $unitPrice * 0.50; + $totalPrice = $units * ($unitPrice / 2.00); Log::warning('Found gas ore: ' . $totalPrice); } else { $totalPrice = $units * $unitPrice;