summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid McMackins II <contact@mcmackins.org>2017-08-15 06:42:47 -0500
committerDavid McMackins II <contact@mcmackins.org>2017-08-15 06:42:47 -0500
commitaff97494a1e11fecb671cfe9323b1e0e240643ff (patch)
treeab44dc7d64f494cd4ab4ccca1162b2179b2b7466
parent38d474634190eee713b38e413dfb2d3dfacb66a6 (diff)
Send signal not to point to a space that cannot be moved to
-rw-r--r--serverthread.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/serverthread.lua b/serverthread.lua
index 1e7fb27..6e7989a 100644
--- a/serverthread.lua
+++ b/serverthread.lua
@@ -368,6 +368,7 @@ function Server:_process()
local move = self:_getmove(dx, dy, split)
if not move then
self._socks[this]:send(NEGATIVE)
+ self:_updateall({'UNPOINT'})
break
end