From c8cdbdede160ae1002a2c5a492dcda9f20b0945d Mon Sep 17 00:00:00 2001 From: Bryan Bishop Date: Wed, 25 Apr 2012 18:18:14 -0500 Subject: oops, make MapScriptHeader and others show up again --- extras/crystal.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'extras/crystal.py') diff --git a/extras/crystal.py b/extras/crystal.py index f688a3ea9..b08622066 100644 --- a/extras/crystal.py +++ b/extras/crystal.py @@ -4691,7 +4691,10 @@ class Asm: current_requested_newlines_before = 0 current_requested_newlines_after = 1 elif isinstance(each, AsmSection) or isinstance(each, Incbin) or hasattr(each, "to_asm"): - asm = each.to_asm() + if isinstance(each, AsmSection) or isinstance(each, Incbin): + asm = each.to_asm() + else: + asm = to_asm(each) current_requested_newlines_before = 2 current_requested_newlines_after = 2 else: -- cgit v1.2.3