forked from Cavemanon/SnootGame
sounds but no dedicated channel control
This commit is contained in:
@ -44,6 +44,7 @@ style gui_text:
|
||||
|
||||
style button:
|
||||
properties gui.button_properties("button")
|
||||
activate_sound "audio/ui/uiClick.wav"
|
||||
|
||||
style button_text is gui_text:
|
||||
properties gui.text_properties("button")
|
||||
@ -672,13 +673,13 @@ screen updates():
|
||||
label _("{color=#FF0000}Update directory does not exist or is corrupt!{/color}")
|
||||
textbutton _("Enable Automatic Updates") action [Notify("Toggling Automatic Updates..."), ToggleVariable("persistent.autoup", True, False)]
|
||||
text _("Automatic Updates: [persistent.autoup!t]\n")
|
||||
textbutton _("Check for Update!") action [Notify("Checking for update..."), Function(UpdateCheck)]
|
||||
textbutton _("Check for Update!") activate_sound "audio/ui/uiRollover.wav" action [Notify("Checking for update..."), Function(UpdateCheck)]
|
||||
label _("Update Check Result:\n")
|
||||
text _("[persistent.updateresult!t]\n")
|
||||
if persistent.updateresult != "No new version is available":
|
||||
textbutton _("Update Now!") action updater.Update(persistent.updateWebServer, force=False)
|
||||
textbutton _("Update Now!") activate_sound "audio/ui/uiNotification.wav" action [updater.Update(persistent.updateWebServer, force=False)]
|
||||
else:
|
||||
textbutton _("Update Now!") action Notify("Nothing to update to!")
|
||||
textbutton _("Update Now!") activate_sound "audio/ui/uiBack.wav" action [Notify("Nothing to update to!")]
|
||||
label _("Update Server:\n")
|
||||
default input_on = False
|
||||
button:
|
||||
|
Reference in New Issue
Block a user