mirror of
https://github.com/evennia/evennia.git
synced 2026-03-25 01:06:32 +01:00
add get_display_name to ExitCommand
This commit is contained in:
parent
5b2963fc46
commit
7a7e379310
1 changed files with 3 additions and 0 deletions
|
|
@ -3484,6 +3484,9 @@ class ExitCommand(_COMMAND_DEFAULT_CLASS):
|
|||
# No shorthand error message. Call hook.
|
||||
self.obj.at_failed_traverse(self.caller)
|
||||
|
||||
def get_display_name(self, looker=None, **kwargs):
|
||||
return self.obj.get_display_name(looker, **kwargs)
|
||||
|
||||
def get_extra_info(self, caller, **kwargs):
|
||||
"""
|
||||
Shows a bit of information on where the exit leads.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue