diff options
author | David McMackins II <contact@mcmackins.org> | 2017-07-31 08:19:00 -0500 |
---|---|---|
committer | David McMackins II <contact@mcmackins.org> | 2017-07-31 08:19:00 -0500 |
commit | df0e7abb5ce332cec7eea386a087a7b8120b8a34 (patch) | |
tree | b44e10c55805d6d986b3a14a47b088fe895cf01e | |
parent | c3edcc5f51b0c8d0c592b5a3cbbcbeb71b7d0425 (diff) |
Fix return value of move function
-rw-r--r-- | client.lua | 6 |
1 files changed, 1 insertions, 5 deletions
@@ -148,11 +148,7 @@ function Client:_move(kind, dx, dy) return nil end - if r[1] ~= 'Y' then - return false - end - - return {tonumber(r[2]), tonumber(r[3])} + return r[1] == 'Y' end function Client:trymove(dx, dy) |