diff --git a/evennia/utils/evmenu.py b/evennia/utils/evmenu.py index 541a53936f..55da3e32aa 100644 --- a/evennia/utils/evmenu.py +++ b/evennia/utils/evmenu.py @@ -242,6 +242,8 @@ def evtable_options_formatter(optionlist): table_width_max = -1 table = [] for key, desc in optionlist: + if not (key or desc): + continue table_width_max = max(table_width_max, max(m_len(p) for p in key.split("\n")) + max(m_len(p) for p in desc.split("\n")) + colsep)