mirror of
https://github.com/evennia/evennia.git
synced 2026-03-26 01:36:32 +01:00
Removed a nested _GA that made made lookup fail in players.models.player_search(). Thanks to Kelketek for pointing this bug out.
This commit is contained in:
parent
e874343387
commit
4dbdf680a1
1 changed files with 1 additions and 1 deletions
|
|
@ -424,7 +424,7 @@ class PlayerDB(TypedObject):
|
|||
the Player object itself. If no Character exists (since Player is
|
||||
OOC), None will be returned.
|
||||
"""
|
||||
matches = _GA(_GA(_GA(self, "_class__"), "objects"), "player_search")(ostring)
|
||||
matches = _GA(self, "__class__").objects.player_search(ostring)
|
||||
matches = _AT_SEARCH_RESULT(self, ostring, matches, global_search=True)
|
||||
if matches and return_character:
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue