From 6f30ab09f54ac62725b8c4f9c1c7a24e6660b646 Mon Sep 17 00:00:00 2001 From: Griatch Date: Mon, 27 Mar 2017 22:37:03 +0200 Subject: [PATCH] Check slow exit deferred for .called state to avoid edge case errback. Resolves #1278. --- evennia/contrib/slow_exit.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/evennia/contrib/slow_exit.py b/evennia/contrib/slow_exit.py index 0a1097ed4..f8216c4d9 100644 --- a/evennia/contrib/slow_exit.py +++ b/evennia/contrib/slow_exit.py @@ -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):