diff --git a/fast64_internal/sm64/sm64_utility.py b/fast64_internal/sm64/sm64_utility.py index 0805f8237..faf544925 100644 --- a/fast64_internal/sm64/sm64_utility.py +++ b/fast64_internal/sm64/sm64_utility.py @@ -315,7 +315,7 @@ def update_actor_includes( else: raise PluginError(f'Unknown header type "{header_type}"') - def write_includes_wrapper(path: Path, includes: list[Path] | None, before_endif=False): + def write_includes_with_alternate(path: Path, includes: list[Path] | None, before_endif=False): if includes is None: return False if header_type == "Level": @@ -332,11 +332,11 @@ def write_includes_wrapper(path: Path, includes: list[Path] | None, before_endif footer=END_IF_FOOTER if before_endif else None, ) - if write_includes_wrapper(data_path, data_includes): + if write_includes_with_alternate(data_path, data_includes): print(f"Updated data includes at {header_path}.") - if write_includes_wrapper(header_path, header_includes, before_endif=True): + if write_includes_with_alternate(header_path, header_includes, before_endif=True): print(f"Updated header includes at {header_path}.") - if write_includes_wrapper(geo_path, geo_includes): + if write_includes_with_alternate(geo_path, geo_includes): print(f"Updated geo data at {geo_path}.")