mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
docstrings and typos in "\utils\" and "\scripts\"
This commit is contained in:
parent
ca230a7130
commit
2135ec05f2
1 changed files with 2 additions and 0 deletions
|
|
@ -111,6 +111,7 @@ class ScriptBase(ScriptDB):
|
|||
"""
|
||||
Base class for scripts. Don't inherit from this, inherit
|
||||
from the class `DefaultScript` below instead.
|
||||
|
||||
"""
|
||||
__metaclass__ = TypeclassBase
|
||||
objects = ScriptManager()
|
||||
|
|
@ -279,6 +280,7 @@ class ScriptBase(ScriptDB):
|
|||
"""
|
||||
This stops a running script and stores its active state.
|
||||
It WILL NOT call the `at_stop()` hook.
|
||||
|
||||
"""
|
||||
if not self.db._paused_time:
|
||||
# only allow pause if not already paused
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue