Add functioning prefix-ignorer and cleanup of code.
This commit is contained in:
parent
d4df0948e3
commit
1fbb4c4358
7 changed files with 10 additions and 15 deletions
|
|
@ -375,7 +375,7 @@ class CmdExtendedDesc(default_cmds.CmdDesc):
|
|||
"Define extended command"
|
||||
caller = self.caller
|
||||
location = caller.location
|
||||
if self.cmdstring == '@detail':
|
||||
if self.cmdname == 'detail':
|
||||
# switch to detailing mode. This operates only on current location
|
||||
if not location:
|
||||
caller.msg("No location to detail!")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue