LttP: make xxtea only required for race generation

This commit is contained in:
Fabian Dill
2022-11-17 23:44:59 +01:00
committed by Fabian Dill
parent 8aed24151f
commit 67128ece38
2 changed files with 12 additions and 3 deletions

View File

@@ -157,6 +157,8 @@ class ALTTPWorld(World):
rom_file = get_base_rom_path()
if not os.path.exists(rom_file):
raise FileNotFoundError(rom_file)
if world.is_race:
import xxtea
def generate_early(self):
if self.use_enemizer():