summaryrefslogtreecommitdiff
path: root/crystal.py
diff options
context:
space:
mode:
authorBryan Bishop <kanzure@gmail.com>2012-04-22 14:04:27 -0500
committerBryan Bishop <kanzure@gmail.com>2012-04-22 14:04:27 -0500
commit7c667e09c8b42c777dc98fe862655e7fdfe46db4 (patch)
tree100093b52e9e6c237489e8a582bdc69cc59e1dff /crystal.py
parent34385f546b374d5237e62ce2f1055f5377afe422 (diff)
prevent scripts from appearing in MapScriptHeader.to_asm output
original-commit-id: fdbf484b579c763d4a015768295a0fce8c430e76
Diffstat (limited to 'crystal.py')
-rw-r--r--crystal.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/crystal.py b/crystal.py
index 239ddff..d7c68c3 100644
--- a/crystal.py
+++ b/crystal.py
@@ -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")