Made Empty cmdsets have priority -100, also changed their key from "Empty" to _EMPTY_CMDSET to make it clearer this is a special name. See also discussion in Issue 447.
This commit is contained in:
parent
acbfa57240
commit
48bfc7e54a
3 changed files with 13 additions and 7 deletions
|
|
@ -1685,7 +1685,7 @@ class CmdExamine(ObjManipCommand):
|
|||
|
||||
string += "\n{wLocks{n:%s" % locks_string
|
||||
|
||||
if not (len(obj.cmdset.all()) == 1 and obj.cmdset.current.key == "Empty"):
|
||||
if not (len(obj.cmdset.all()) == 1 and obj.cmdset.current.key == "_EMPTY_CMDSET"):
|
||||
# list the current cmdsets
|
||||
all_cmdsets = (obj.cmdset.all() +
|
||||
(hasattr(obj, "player") and obj.player and
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue