diff --git a/src/mercury_engine_data_structures/formats/bmtun.py b/src/mercury_engine_data_structures/formats/bmtun.py index 14606f2..ee422ed 100644 --- a/src/mercury_engine_data_structures/formats/bmtun.py +++ b/src/mercury_engine_data_structures/formats/bmtun.py @@ -52,9 +52,9 @@ def construct_class(cls, target_game: Game) -> Construct: def _check_tunable_exists(self, class_name: str, tunable_name: str) -> None: classes = self.raw.classes if class_name not in classes: - raise KeyError(f"Unknown tunable: {class_name}!") + raise KeyError(f"Unknown class name: {class_name}!") if tunable_name not in classes[class_name].tunables: - raise KeyError(f"Unknown tunable param: {tunable_name}!") + raise KeyError(f"Unknown tunable name: {tunable_name}!") Tunable = str | float | bool | int | list[float]