mirror of
https://github.com/evennia/evennia.git
synced 2026-04-03 06:27:17 +02:00
Make object search handle a dbref=0.
This commit is contained in:
parent
327cfc5098
commit
889708cf07
1 changed files with 1 additions and 1 deletions
|
|
@ -229,7 +229,7 @@ class ObjectManager(TypedObjectManager):
|
|||
"""
|
||||
ostring = to_unicode(ostring, force_string=True)
|
||||
|
||||
if not ostring:
|
||||
if not ostring and ostring != 0:
|
||||
return []
|
||||
|
||||
# Easiest case - dbref matching (always exact)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue