Replace is not with !=

This commit is contained in:
Nutbuster 2022-10-27 17:00:51 +11:00
parent ab34f00ae0
commit 6b58f1dd14
1 changed files with 1 additions and 1 deletions

View File

@ -67,7 +67,7 @@ screen mod_menu():
#buttons are messed up but that's ok
use mod_menu_button("gui/button/menubuttons/template_idle.png", "Return", ShowMenu("main_menu"))
if len(mod_menu_access) is not 0:
if len(mod_menu_access) != 0:
use mod_menu_buttons("gui/button/menubuttons/template_idle.png", mod_menu_access )
else:
use mod_menu_button("gui/button/menubuttons/template_idle.png", "You have no mods", None)