Mod Loader v2

This commit is contained in:
2021-08-10 11:07:45 +10:00
parent 60a6f8acac
commit 1b8004e6a5
4 changed files with 52 additions and 14 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:
use mod_menu_buttons("gui/button/menubuttons/template_idle.png", mod_menu_access )
if len(mod_loader.mod_menu_access) is not 0:
use mod_menu_buttons("gui/button/menubuttons/template_idle.png", mod_loader.mod_menu_access )
else:
use mod_menu_button("gui/button/menubuttons/template_idle.png", "You have no mods", None)