summaryrefslogtreecommitdiff
path: root/extras
diff options
context:
space:
mode:
authorBryan Bishop <kanzure@gmail.com>2012-04-28 11:08:05 -0500
committerBryan Bishop <kanzure@gmail.com>2012-04-28 11:08:05 -0500
commitd4508d9beda76be00c79296e88129a5dcfd908d2 (patch)
tree4821391ba5b9d50171cb21becc3c8d717ccc20fa /extras
parentef56a46e8118d7532721516635b9fb2c8085d2ff (diff)
temporary fix to prevent TextScript from appending @s
Diffstat (limited to 'extras')
-rw-r--r--extras/crystal.py4
1 files changed, 3 insertions, 1 deletions
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