Skip to content

Commit 4296ef0

Browse files
committed
Fixes a bug in the debug printout code of the AbilityEvent object's apply method
1 parent 1a2e34b commit 4296ef0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sc2reader/objects.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -242,7 +242,7 @@ def apply(self):
242242

243243
if self.ability:
244244
if self.ability not in ABILITIES:
245-
print "Unknown ability (%s) in at %s" % (hex(self.ability),self.framestr)
245+
print "Unknown ability (%s) in at %s" % (hex(self.ability),hex(self.frame))
246246
#raise ValueError("Unknown ability (%s)" % (hex(self.ability)),)
247247
ability = ABILITIES[self.ability]
248248
able = self.get_able_selection(ability)

0 commit comments

Comments
 (0)