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:
Griatch 2012-12-08 14:09:42 +01:00
parent 7ee40bc3c7
commit c0302f7cff
3 changed files with 9 additions and 3 deletions

View file

@ -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