mirror of
https://github.com/evennia/evennia.git
synced 2026-04-02 14:07:16 +02:00
Made evmenu stop echoing 'None' when ending the menu with a None, None return from the node.
This commit is contained in:
parent
ea1e88cbe9
commit
910d539d45
1 changed files with 1 additions and 1 deletions
|
|
@ -721,7 +721,7 @@ class EvMenu(object):
|
|||
nodetext, helptext = nodetext[:2]
|
||||
else:
|
||||
nodetext = nodetext[0]
|
||||
nodetext = str(nodetext) or ""
|
||||
nodetext = "" if nodetext is None else str(nodetext)
|
||||
options = [options] if isinstance(options, dict) else options
|
||||
|
||||
# this will be displayed in the given order
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue