forked from Cavemanon/SnootGame
Add Error Message for not having Mods
This commit is contained in:
parent
f9edccabd4
commit
c1e7fd2bbf
@ -474,7 +474,6 @@ style main_menu_title:
|
||||
##
|
||||
screen mod_menu():
|
||||
|
||||
|
||||
tag menu
|
||||
viewport:
|
||||
yinitial 0
|
||||
@ -484,16 +483,21 @@ screen mod_menu():
|
||||
pagekeys True
|
||||
|
||||
#side_yfill True
|
||||
|
||||
vbox:
|
||||
spacing 10
|
||||
xpos 1885
|
||||
yalign 0.98
|
||||
|
||||
for x in mod_menu_access:
|
||||
use main_menu_button("gui/button/menubuttons/template_idle.png",
|
||||
x[0], Start(x[1]) )
|
||||
use main_menu_button("gui/button/menubuttons/template_idle.png",
|
||||
"Return", ShowMenu("main_menu"))
|
||||
|
||||
if len(mod_menu_access) is not 0:
|
||||
for x in mod_menu_access:
|
||||
use main_menu_button("gui/button/menubuttons/template_idle.png",
|
||||
x[0], Start(x[1]) )
|
||||
else:
|
||||
use main_menu_button("gui/button/menubuttons/template_idle.png",
|
||||
"You have no mods", None)
|
||||
|
||||
## Game Menu screen ############################################################
|
||||
##
|
||||
|
Loading…
Reference in New Issue
Block a user