summaryrefslogtreecommitdiff
path: root/crystal.py
diff options
context:
space:
mode:
authorBryan Bishop <kanzure@gmail.com>2012-04-21 23:37:02 -0500
committerBryan Bishop <kanzure@gmail.com>2012-04-21 23:37:02 -0500
commit1e89af6fade9955b21e2ef337b1e2a1053efaa8d (patch)
tree9411926c39c7a1dce71f97bee5c407a662fac36e /crystal.py
parentdd3ec6742a93b9f8772a91a05af7165de152bd97 (diff)
remove duplicates from Asm output
original-commit-id: c33c15befbd3d957d89af11425c7be80c73a62f0
Diffstat (limited to 'crystal.py')
-rw-r--r--crystal.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/crystal.py b/crystal.py
index a66eb7d..6187a0b 100644
--- a/crystal.py
+++ b/crystal.py
@@ -4615,7 +4615,7 @@ class Asm:
else: #assume incbins[1].replace_me (the middle one)
index = 1
#replace that index with the new_object
- incbins[index] = to_asm(new_object)
+ incbins[index] = new_object
#insert these incbins into self.parts
gindex = self.parts.index(object)
self.parts = self.parts[:gindex] + incbins + self.parts[gindex:]