From 448738ea11c633e30468a361d06fcd46157ce6dd Mon Sep 17 00:00:00 2001 From: chrys87 Date: Tue, 23 Aug 2016 13:04:31 +0200 Subject: [PATCH] Update curr_char.py --- src/fenrir-package/commands/commands/curr_char.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/fenrir-package/commands/commands/curr_char.py b/src/fenrir-package/commands/commands/curr_char.py index ed80935c..203aa4c0 100644 --- a/src/fenrir-package/commands/commands/curr_char.py +++ b/src/fenrir-package/commands/commands/curr_char.py @@ -6,8 +6,7 @@ class command(): pass def run(self, environment): environment['screenData']['oldCursorReview'] = environment['screenData']['newCursorReview'] - if (environment['screenData']['newCursorReview']['y'] == -1) or \ - (environment['screenData']['newCursorReview']['x'] == -1): + if (environment['screenData']['newCursorReview'] == None: environment['screenData']['newCursorReview'] = environment['screenData']['newCursor'].copy() environment['screenData']['newCursorReview']['x'], environment['screenData']['newCursorReview']['y'], currChar = \