mirror of
https://git.cavemanon.xyz/Cavemanon/SnootGame.git
synced 2025-04-22 06:52:09 +02:00
HOTFIX TO FIX STUPID FUCKING 6 HOUR UPDATE COOLDOWN
This commit is contained in:
parent
9cb70ad986
commit
fdfd364d43
2 changed files with 6 additions and 3 deletions
|
@ -23,7 +23,7 @@ define gui.show_name = True
|
||||||
|
|
||||||
## The version of the game.
|
## The version of the game.
|
||||||
|
|
||||||
define config.version = "Patchy-patch5"
|
define config.version = "Patchy-patch5.11"
|
||||||
|
|
||||||
## Text that is placed on the game's about screen. Place the text between the
|
## Text that is placed on the game's about screen. Place the text between the
|
||||||
## triple-quotes, and leave a blank line between paragraphs.
|
## triple-quotes, and leave a blank line between paragraphs.
|
||||||
|
|
|
@ -8,7 +8,9 @@ init python:
|
||||||
persistent.updateWebServer = "http://updates.snootgame.xyz/updates.json"
|
persistent.updateWebServer = "http://updates.snootgame.xyz/updates.json"
|
||||||
|
|
||||||
def UpdateCheck():
|
def UpdateCheck():
|
||||||
pendingVersion = updater.UpdateVersion(persistent.updateWebServer)
|
# WHY YES I ONLY ALLOW PEOPLE USING MY FRAMEWORK TO CHECK FOR AN UPDATE EVERY SIX FUCKING HOURS HOW DID YOU KNOW
|
||||||
|
# NOPE check_interval=5 (5 SECONDS) FUCK YOU
|
||||||
|
pendingVersion = updater.UpdateVersion(persistent.updateWebServer, check_interval=5)
|
||||||
if pendingVersion == None or pendingVersion == config.version or "TEST" in pendingVersion:
|
if pendingVersion == None or pendingVersion == config.version or "TEST" in pendingVersion:
|
||||||
persistent.updateresult = "No new version is available"
|
persistent.updateresult = "No new version is available"
|
||||||
else:
|
else:
|
||||||
|
@ -1262,7 +1264,8 @@ screen extrasnavigation():
|
||||||
imagebutton auto "gui/button/menubuttons/helpbutton_%s.png" action ShowMenu('help')
|
imagebutton auto "gui/button/menubuttons/helpbutton_%s.png" action ShowMenu('help')
|
||||||
imagebutton auto "gui/button/menubuttons/aboutbutton_%s.png" action ShowMenu('about')
|
imagebutton auto "gui/button/menubuttons/aboutbutton_%s.png" action ShowMenu('about')
|
||||||
imagebutton auto "gui/button/menubuttons/updatesbutton_%s.png" action ShowMenu('updates')
|
imagebutton auto "gui/button/menubuttons/updatesbutton_%s.png" action ShowMenu('updates')
|
||||||
imagebutton auto "gui/button/menubuttons/gallerybutton_%s.png" action ShowMenu('gallery')
|
#imagebutton auto "gui/button/menubuttons/gallerybutton_%s.png" action ShowMenu('gallery')
|
||||||
|
imagebutton auto "gui/button/menubuttons/gallerybutton_%s.png" action Notify('coming soon ;)')
|
||||||
imagebutton auto "gui/button/menubuttons/returnbutton_%s.png" action ShowMenu('main_menu')
|
imagebutton auto "gui/button/menubuttons/returnbutton_%s.png" action ShowMenu('main_menu')
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue