mirror of
https://github.com/evennia/evennia.git
synced 2026-03-24 00:36:30 +01:00
Fixing @open to be a bit more robust. Also handle exit name matching a lot more gracefully.
This commit is contained in:
parent
f6311dd41e
commit
531fbbacaa
4 changed files with 27 additions and 16 deletions
|
|
@ -24,7 +24,7 @@ def match_exits(pobject, searchstr):
|
|||
See if we can find an input match to exits.
|
||||
"""
|
||||
exits = pobject.get_location().get_contents(filter_type=4)
|
||||
return functions_db.list_search_object_namestr(exits, searchstr)
|
||||
return functions_db.list_search_object_namestr(exits, searchstr, match_type="exact")
|
||||
|
||||
def handle(cdat):
|
||||
"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue