From 1e89af6fade9955b21e2ef337b1e2a1053efaa8d Mon Sep 17 00:00:00 2001 From: Bryan Bishop Date: Sat, 21 Apr 2012 23:37:02 -0500 Subject: remove duplicates from Asm output original-commit-id: c33c15befbd3d957d89af11425c7be80c73a62f0 --- crystal.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'crystal.py') 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:] -- cgit v1.2.3