small bugfix

This commit is contained in:
edschuy95 2026-01-22 01:32:01 -05:00
parent f564cea776
commit 55a5e6b9b3

View file

@ -650,7 +650,8 @@ def main():
timeout=10 timeout=10
) )
choice=menu.show() choice=menu.show()
chosen_mod = choice.split("\n", 1)[0] if choice != None:
chosen_mod = choice.split("\n", 1)[0]
if chosen_mod != None: if chosen_mod != None:
run_mod = ["+set", "fs_game", chosen_mod] run_mod = ["+set", "fs_game", chosen_mod]