diff --git a/worlds/tunic/__init__.py b/worlds/tunic/__init__.py index 2ee58d42..250f6706 100644 --- a/worlds/tunic/__init__.py +++ b/worlds/tunic/__init__.py @@ -110,6 +110,13 @@ class TunicWorld(World): ut_can_gen_without_yaml = True # class var that tells it to ignore the player yaml def generate_early(self) -> None: + try: + int(self.settings.disable_local_spoiler) + except AttributeError: + raise Exception("You have a TUNIC APWorld in your lib/worlds folder and custom_worlds folder.\n" + "This would cause an error at the end of generation.\n" + "Please remove one of them, most likely the one in lib/worlds.") + check_options(self) if self.options.logic_rules >= LogicRules.option_no_major_glitches: