Added global_dbref argument to caller.search, for allowing e.g. the examine command to view globally by dbref yet local-only if supplying a name. Resolves Issue 327.
This commit is contained in:
parent
7ee40bc3c7
commit
c0302f7cff
3 changed files with 9 additions and 3 deletions
|
|
@ -1750,7 +1750,7 @@ class CmdExamine(ObjManipCommand):
|
|||
|
||||
self.player_mode = "player" in self.switches or obj_name.startswith('*')
|
||||
|
||||
obj = caller.search(obj_name, player=self.player_mode)
|
||||
obj = caller.search(obj_name, player=self.player_mode, global_dbref=True)
|
||||
if not obj:
|
||||
continue
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue