Minor fix for loading map names from config.
This commit is contained in:
parent
f3db413a3f
commit
54887efd02
1 changed files with 1 additions and 1 deletions
|
|
@ -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? ")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue