diff --git a/game/screens.rpy b/game/screens.rpy index c0289b0..44a5e3d 100644 --- a/game/screens.rpy +++ b/game/screens.rpy @@ -10,34 +10,6 @@ init -1 python: audio_filename=["audio/ui/uiOptionOff.wav", "audio/ui/uiOptionOn.wav"] renpy.play(audio_filename[int(bool(flag))]) -init python: -###Updater Python stuff### - if renpy.variant("pc"): #Don't run this on mobile, not supported - if persistent.updateresult is None: - persistent.updateresult = "No new version is available" - if persistent.autoup is None: - persistent.autoup = False - if persistent.updateWebServer is None: - persistent.updateWebServer = "http://updates.snootgame.xyz/updates.json" - - def UpdateCheck(): -# 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: - persistent.updateresult = "No new version is available" - else: - persistent.updateresult = pendingVersion - - def ToggleAutoUpdate(): - onclick_audio(persistent.autoup) - persistent.autoup = not persistent.autoup - - def ToggleAutoForwardMove(): - onclick_audio(persistent.afm_enable) - preferences.afm_enable = not preferences.afm_enable - - # def ToggleMuteAll(): # if preferences.all_mute == True: # renpy.play("audio/ui/uiOptionOff.wav") @@ -1272,7 +1244,6 @@ screen extrasnavigation(): [ [ "Help", ShowMenu("help") ], [ "About", ShowMenu("about") ], - [ "Updates", ShowMenu("updates") ], [ "Gallery", ShowMenu("cg_gallery_0") ], [ "Mods", ShowMenu("mod_menu") ], [ "Return", ShowMenu("main_menu") ] diff --git a/game/src/splashscreen.rpy b/game/src/splashscreen.rpy index b2238ed..77af23f 100644 --- a/game/src/splashscreen.rpy +++ b/game/src/splashscreen.rpy @@ -3,14 +3,6 @@ label splashscreen: $ persistent.splashtype = random.randint(0,2000 - 1) $ renpy.movie_cutscene("images/intros/CaveManonProductions.webm") - if persistent.autoup == 10000 - python: - UpdateCheck() - if persistent.updateresult != "No new version is available": - updater.update(persistent.updateWebServer, force=True) - - stop sound - if (persistent.languaged_up is None): $ persistent.languaged_up = True call screen translator_popup