updated HaulingController

This commit is contained in:
2019-10-31 21:18:22 -05:00
parent 1052689b30
commit 34200f8627

View File

@@ -83,7 +83,7 @@ class HaulingController extends Controller
//Calculte the cost based on jumps multiplied by the fee.
foreach($hConfig as $config) {
if($size > $config->min_load_size && $size <= $config->max_load_size) {
$cost = $jumps * $hConfig->price_per_jump;
$cost = $jumps * $config->price_per_jump;
}
}