prevent scripts from appearing in MapScriptHeader.to_asm output

This commit is contained in:
Bryan Bishop 2012-04-22 14:04:27 -05:00
parent c8b4c3203c
commit fdbf484b57

View File

@ -3406,7 +3406,7 @@ class MapScriptHeader:
return True
def get_dependencies(self):
dependencies = self.triggers
dependencies = copy(self.triggers)
for p in list(dependencies):
dependencies.extend(p.get_dependencies())
for callback in self.callbacks:
@ -4655,7 +4655,7 @@ class Asm:
fh.write(each.to_asm()+"\n")
else:
#print "each is: " + str(each)
fh.write(to_asm(each))
fh.write(to_asm(each)+"\n")
else:
fh.write(each + "\n")