Also tweaked scripts- and player managers to handle id=0.

This commit is contained in:
Griatch 2012-09-29 17:12:16 +02:00
parent 33c15e99d2
commit 110207fd7f
2 changed files with 2 additions and 2 deletions

View file

@ -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: