mirror of
https://github.com/evennia/evennia.git
synced 2026-03-16 21:06:30 +01:00
add back helptext definition
This commit is contained in:
parent
b819bff556
commit
03b73af3bb
1 changed files with 2 additions and 0 deletions
|
|
@ -918,6 +918,8 @@ class EvMenu:
|
|||
# helptext can also be a dict, which allows for tooltip command-text (key-value) or
|
||||
# ((key,aliases)-value) pairs.
|
||||
|
||||
# make sure helptext is defined
|
||||
helptext = ""
|
||||
if is_iter(nodetext):
|
||||
nodetext, *helptext = nodetext
|
||||
helptext = helptext[0] if helptext else ""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue