mirror of
https://git.cavemanon.xyz/Cavemanon/SnootGame.git
synced 2025-03-26 11:54:49 +01:00
Add Error Message for not having Mods
This commit is contained in:
parent
f9edccabd4
commit
c1e7fd2bbf
1 changed files with 9 additions and 5 deletions
|
@ -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…
Add table
Reference in a new issue