Check slow exit deferred for .called state to avoid edge case errback. Resolves #1278.

This commit is contained in:
Griatch 2017-03-27 22:37:03 +02:00
parent 1ed559a71c
commit 6f30ab09f5

View file

@ -135,7 +135,7 @@ class CmdStop(Command):
stored deferred from the exit traversal above.
"""
currently_moving = self.caller.ndb.currently_moving
if currently_moving:
if currently_moving and not currently_moving.called:
currently_moving.cancel()
self.caller.msg("You stop moving.")
for observer in self.caller.location.contents_get(self.caller):