From: adrianna Date: Sat, 17 May 2014 09:43:55 +0000 (+0200) Subject: changed 'do nothing' glyph use X-Git-Tag: 0.1~136 X-Git-Url: https://git.ctpug.org.za/?a=commitdiff_plain;h=71af434ace227205b92cf92330fd22ee1183f439;p=naja.git changed 'do nothing' glyph use --- diff --git a/naja/actions.py b/naja/actions.py index b492f80..7ed4c6b 100644 --- a/naja/actions.py +++ b/naja/actions.py @@ -9,7 +9,7 @@ class LocationAction(object): """ TEXT = None - GLYPHS = (ACTION_GLYPHS.NOTHING,) + GLYPHS = tuple() MSB_GLYPH = None def __init__(self, required_bits, **data): @@ -66,6 +66,7 @@ class LocationAction(object): class DoNothing(LocationAction): TEXT = "No effect." + GLYPHS = (ACTION_GLYPHS.NOTHING,) def perform_action(self, board, location): pass