mirror of
https://github.com/evennia/evennia.git
synced 2026-03-31 21:17:17 +02:00
Added a check to allow obj.search to also search for 0.
This commit is contained in:
parent
a347252407
commit
33c15e99d2
1 changed files with 1 additions and 1 deletions
|
|
@ -267,7 +267,7 @@ class ObjectManager(TypedObjectManager):
|
|||
return []
|
||||
|
||||
dbref = not attribute_name and self.dbref(ostring)
|
||||
if dbref:
|
||||
if dbref or dbref == 0:
|
||||
# Easiest case - dbref matching (always exact)
|
||||
dbref_match = self.dbref_search(dbref)
|
||||
if dbref_match:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue