Add functioning prefix-ignorer and cleanup of code.

This commit is contained in:
Griatch 2017-02-17 08:40:32 +01:00
parent d4df0948e3
commit 1fbb4c4358
7 changed files with 10 additions and 15 deletions

View file

@ -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!")