Asset Preload (#4055)

This commit is contained in:
Lohikar
2018-01-06 16:30:50 -06:00
committed by GitHub
parent 39afd3f3da
commit db53ff3630
3 changed files with 1 additions and 10 deletions

View File

@@ -59,7 +59,7 @@
var/account_age = -1 // Age on the BYOND account in days.
var/account_join_date = null // Date of the BYOND account creation in ISO 8601 format.
preload_rsc = 0 // This is 0 so we can set it to an URL once the player logs in and have them download the resources from a different server.
preload_rsc = 1
////////////
//PARALLAX//

View File

@@ -288,11 +288,6 @@
del(src)
return
// Change the way they should download resources.
if(config.resource_urls)
src.preload_rsc = pick(config.resource_urls)
else src.preload_rsc = 1 // If config.resource_urls is not set, preload like normal.
src << "<span class='alert'>If the title screen is black, resources are still downloading. Please be patient until the title screen appears.</span>"