Check slow exit deferred for .called state to avoid edge case errback. Resolves #1278.
This commit is contained in:
parent
1ed559a71c
commit
6f30ab09f5
1 changed files with 1 additions and 1 deletions
|
|
@ -135,7 +135,7 @@ class CmdStop(Command):
|
||||||
stored deferred from the exit traversal above.
|
stored deferred from the exit traversal above.
|
||||||
"""
|
"""
|
||||||
currently_moving = self.caller.ndb.currently_moving
|
currently_moving = self.caller.ndb.currently_moving
|
||||||
if currently_moving:
|
if currently_moving and not currently_moving.called:
|
||||||
currently_moving.cancel()
|
currently_moving.cancel()
|
||||||
self.caller.msg("You stop moving.")
|
self.caller.msg("You stop moving.")
|
||||||
for observer in self.caller.location.contents_get(self.caller):
|
for observer in self.caller.location.contents_get(self.caller):
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue