diff options
Diffstat (limited to 'game/misc.rpy')
-rw-r--r-- | game/misc.rpy | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/game/misc.rpy b/game/misc.rpy index 68ac6f9..305f736 100644 --- a/game/misc.rpy +++ b/game/misc.rpy @@ -259,6 +259,15 @@ init python: def readjust_status(lvl, val): return val+int(val*(max(lvl-1, 0)/100.0)) + def async_loader(): + print("Now loading images to RAM...") + t = now() + for c in persistent.allfiles: + try: + show_img(c[0], False) + except: + print("Unable to load %s" % c) + print("Loaded %d images in %d seconds." % (len(persistent.allfiles), now() - t)) label add_server: centered "This allows you to add a new custom server.\n\ |