From d4508d9beda76be00c79296e88129a5dcfd908d2 Mon Sep 17 00:00:00 2001 From: Bryan Bishop Date: Sat, 28 Apr 2012 11:08:05 -0500 Subject: [PATCH] temporary fix to prevent TextScript from appending @s --- extras/crystal.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/extras/crystal.py b/extras/crystal.py index 3786e13b5..0495395a1 100644 --- a/extras/crystal.py +++ b/extras/crystal.py @@ -725,7 +725,9 @@ class TextScript: address = self.address start_address = address if label == None: label = self.label.name - commands = self.commands + #using deepcopy because otherwise additional @s get appended each time + #like to the end of the text for TextScript(0x5cf3a) + commands = deepcopy(self.commands) #apparently this isn't important anymore? needs_to_begin_with_0 = True #start with zero please