ref: fdbf484b579c763d4a015768295a0fce8c430e76
parent: c8b4c3203c8551f8ca835b35e4ad81a8f47900bd
author: Bryan Bishop <[email protected]>
date: Sun Apr 22 10:04:27 EDT 2012
prevent scripts from appearing in MapScriptHeader.to_asm output
--- a/extras/crystal.py
+++ b/extras/crystal.py
@@ -3406,7 +3406,7 @@
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 @@
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")