Optimized loading vaults (#31239)

This commit is contained in:
DamianX
2021-11-09 05:36:33 +01:00
committed by GitHub
parent 58d1db4857
commit 817b97a294
6 changed files with 24 additions and 29 deletions

View File

@@ -1333,8 +1333,8 @@ var/global/floorIsLava = 0
if(!chosen)
return
//preloader is hooked to atom/New(), and is automatically deleted once it 'loads' an object
_preloader = new(varchanges, chosen)
//preloader is hooked to atom/New(), and is automatically disabled once it 'loads' an object
_preloader.setup(varchanges, chosen)
if(ispath(chosen,/turf))
var/turf/T = get_turf(usr.loc)