diff --git a/scripts/Catapult.gd b/scripts/Catapult.gd index c47294fb..eaaf9e82 100644 --- a/scripts/Catapult.gd +++ b/scripts/Catapult.gd @@ -438,7 +438,12 @@ func _start_game(world := "") -> void: var world_str := "" if world != "": world_str = "--world \"%s\"" % world - var command = "cd /d %s && start cataclysm-tiles.exe --userdir \"%s/\" %s" % [Paths.game_dir, Paths.userdata, world_str] + + var exe_file = "cataclysm-tiles.exe" + if Settings.read("game") == "bn" and Directory.new().file_exists(Paths.game_dir.plus_file("cataclysm-bn-tiles.exe")): + exe_file = "cataclysm-bn-tiles.exe" + + var command = "cd /d %s && start %s --userdir \"%s/\" %s" % [Paths.game_dir, exe_file, Paths.userdata, world_str] OS.execute("cmd", ["/C", command], false) _: return