Update curr_char.py

This commit is contained in:
chrys87 2016-08-23 13:07:41 +02:00 committed by GitHub
parent b948fccb46
commit b746fcf807

View File

@ -6,7 +6,7 @@ class command():
pass pass
def run(self, environment): def run(self, environment):
environment['screenData']['oldCursorReview'] = environment['screenData']['newCursorReview'] environment['screenData']['oldCursorReview'] = environment['screenData']['newCursorReview']
if (environment['screenData']['newCursorReview'] == None: if environment['screenData']['newCursorReview'] == None:
environment['screenData']['newCursorReview'] = environment['screenData']['newCursor'].copy() environment['screenData']['newCursorReview'] = environment['screenData']['newCursor'].copy()
environment['screenData']['newCursorReview']['x'], environment['screenData']['newCursorReview']['y'], currChar = \ environment['screenData']['newCursorReview']['x'], environment['screenData']['newCursorReview']['y'], currChar = \