mirror of
https://github.com/evennia/evennia.git
synced 2026-03-29 03:57:17 +02:00
Updated gametime module to work on-the-fly, based on patches and discussion with user Khandrish. Also made cleanups to @scripts command and some small bug fixes.
This commit is contained in:
parent
48bfc7e54a
commit
ea7e43c746
5 changed files with 87 additions and 141 deletions
|
|
@ -65,8 +65,8 @@ class ScriptManager(TypedObjectManager):
|
|||
if dbref or dbref == 0:
|
||||
script = self.dbref_search(dbref)
|
||||
if not script:
|
||||
scripts = self.filter(db_key=key)
|
||||
return scripts
|
||||
script = self.filter(db_key=key)
|
||||
return script
|
||||
return self.all()
|
||||
|
||||
def delete_script(self, dbref):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue