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():
|
screen mod_menu():
|
||||||
|
|
||||||
|
|
||||||
tag menu
|
tag menu
|
||||||
viewport:
|
viewport:
|
||||||
yinitial 0
|
yinitial 0
|
||||||
|
@ -484,16 +483,21 @@ screen mod_menu():
|
||||||
pagekeys True
|
pagekeys True
|
||||||
|
|
||||||
#side_yfill True
|
#side_yfill True
|
||||||
|
|
||||||
vbox:
|
vbox:
|
||||||
spacing 10
|
spacing 10
|
||||||
xpos 1885
|
xpos 1885
|
||||||
yalign 0.98
|
yalign 0.98
|
||||||
|
|
||||||
for x in mod_menu_access:
|
use main_menu_button("gui/button/menubuttons/template_idle.png",
|
||||||
use main_menu_button("gui/button/menubuttons/template_idle.png",
|
"Return", ShowMenu("main_menu"))
|
||||||
x[0], Start(x[1]) )
|
|
||||||
|
|
||||||
|
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 ############################################################
|
## Game Menu screen ############################################################
|
||||||
##
|
##
|
||||||
|
|
Loading…
Reference in New Issue