mirror of
https://github.com/evennia/evennia.git
synced 2026-03-30 12:37:16 +02:00
return 0 in case of ObjectDoesNotExist in DefaultScript.stop instead of pass.
This commit is contained in:
parent
88674307ec
commit
8011d42321
1 changed files with 1 additions and 1 deletions
|
|
@ -355,7 +355,7 @@ class DefaultScript(ScriptBase):
|
|||
logger.log_trace()
|
||||
return 0
|
||||
except ObjectDoesNotExist:
|
||||
pass
|
||||
return 0
|
||||
return 1
|
||||
|
||||
def pause(self, manual_pause=True):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue