Minor fix for loading map names from config.

This commit is contained in:
yrriban 2026-01-19 13:02:30 -05:00
parent f3db413a3f
commit 54887efd02

View file

@ -86,7 +86,7 @@ class Text(doomcc.doom_base.WadMap):
map_names = self._config.get("map_names")
if map_names is not None:
text = map_names.get(f"map{mapnum}")
if text != "":
if text is not None:
return text
return input("Map Name? ")