diff --git a/bhl.inc.php b/bhl.inc.php index 8342511..147db10 100644 --- a/bhl.inc.php +++ b/bhl.inc.php @@ -117,7 +117,7 @@ function bhl_run($debug = true, $force = false, $exit_on_err = true, stdClass $b $bhl_proj ??= bhl_proj(); $result_file = $bhl_proj->result_file; - if($force || need_to_regen($result_file, bhl_scan_files())) + if($force || need_to_regen($result_file, bhl_scan_files($bhl_proj))) { bhl_shell("compile -p " . $bhl_proj->file_path . " " . ($debug ? " -d" : "") . " " .