mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-20 19:44:09 +01:00
Adds SS loading to title screen (#23042)
* Adds SS loading to title screen * Makes it scroll
This commit is contained in:
@@ -30,8 +30,7 @@ SUBSYSTEM_DEF(title)
|
||||
|
||||
var/icon/icon = new(fcopy_rsc(file_path))
|
||||
|
||||
for(var/turf/simulated/wall/indestructible/splashscreen/splash in world)
|
||||
splash.icon = icon
|
||||
// Below operations are needed to centrally place the new splashscreen on the lobby area
|
||||
splash.pixel_x = -((icon.Width() - world.icon_size) / 2)
|
||||
splash.pixel_y = -((icon.Height() - world.icon_size) / 2)
|
||||
GLOB.title_splash.icon = icon
|
||||
// Below operations are needed to centrally place the new splashscreen on the lobby area
|
||||
GLOB.title_splash.pixel_x = -((icon.Width() - world.icon_size) / 2)
|
||||
GLOB.title_splash.pixel_y = -((icon.Height() - world.icon_size) / 2)
|
||||
|
||||
Reference in New Issue
Block a user