mirror of
https://github.com/evennia/evennia.git
synced 2026-03-23 16:26:30 +01:00
Also tweaked scripts- and player managers to handle id=0.
This commit is contained in:
parent
33c15e99d2
commit
110207fd7f
2 changed files with 2 additions and 2 deletions
|
|
@ -191,7 +191,7 @@ class ScriptManager(TypedObjectManager):
|
|||
ostring = ostring.strip()
|
||||
|
||||
dbref = self.dbref(ostring)
|
||||
if dbref:
|
||||
if dbref or dbref == 0:
|
||||
# this is a dbref, try to find the script directly
|
||||
dbref_match = self.dbref_search(dbref)
|
||||
if dbref_match:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue