mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
Merge pull request #3517 from InspectorCaracal/patch-23
Don't ignore empty search candidates
This commit is contained in:
commit
d1705e9c4e
1 changed files with 1 additions and 1 deletions
|
|
@ -397,7 +397,7 @@ class DefaultObject(ObjectDB, metaclass=TypeclassBase):
|
|||
|
||||
# if candidates were already given, use them
|
||||
candidates = kwargs.get("candidates")
|
||||
if candidates:
|
||||
if candidates is not None:
|
||||
return candidates
|
||||
|
||||
# find candidates based on location
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue