forked from Cavemanon/SnootGame
Undo threading
This commit is contained in:
@ -4,7 +4,6 @@ label splashscreen:
|
||||
$ renpy.movie_cutscene("images/intros/CaveManonProductions.webm")
|
||||
|
||||
python:
|
||||
import threading
|
||||
import pygame
|
||||
|
||||
CACHE_PATH = config.basedir.replace("\\","/") + "/game/cache/"
|
||||
@ -25,7 +24,6 @@ label splashscreen:
|
||||
|
||||
#save_thumb(NOT_UNLOCKED_COVER,"default","jpg")
|
||||
|
||||
g_thread_arr = []
|
||||
path_testing = []
|
||||
for x in (gallery_dic.items()):
|
||||
key = x[0]
|
||||
@ -51,14 +49,11 @@ label splashscreen:
|
||||
if type(y['cg']) is Movie:
|
||||
pass
|
||||
else:
|
||||
#save_thumb(y['cg'], y['fn'], y['ext'])
|
||||
t = threading.Thread(target=save_thumb, args=(y['cg'], y['fn'], y['ext']))
|
||||
g_thread_arr.append(t)
|
||||
t.start()
|
||||
save_thumb(y['cg'], y['fn'], y['ext'])
|
||||
|
||||
pass
|
||||
|
||||
if persistent.autoup:
|
||||
if persistent.autoup == 10000:
|
||||
python:
|
||||
UpdateCheck()
|
||||
if persistent.updateresult != "No new version is available":
|
||||
@ -66,12 +61,8 @@ label splashscreen:
|
||||
|
||||
stop sound
|
||||
|
||||
if (persistent.languaged_up is None):
|
||||
if (persistent.languaged_up == 10000):
|
||||
call screen translator_popup
|
||||
else:
|
||||
python:
|
||||
for th in g_thread_arr:
|
||||
th.join()
|
||||
|
||||
|
||||
return
|
||||
|
Reference in New Issue
Block a user