[MIRROR] [no gbp] Fixes runtime in SSstation [MDB IGNORE] (#22791)

* [no gbp] Fixes runtime in SSstation (#77231)

No excuse, just dumb. Random layer is the randomly generated parallax
layer, which is null 30% of the time, so this would runtime in SSstation
setup in 30% of rounds

Also another thing where I added extra params and didn't add them to the
proc, fucking parallax for some roundstart clients and latejoins

🆑
fix: fixes a runtime in SSstation setup
fix: fixes parallax not rendering correctly for latejoins
/🆑

![image](https://github.com/tgstation/tgstation/assets/7501474/650242f7-bc33-49eb-98d9-d8e3619ab808)

* [no gbp] Fixes runtime in SSstation

---------

Co-authored-by: Time-Green <7501474+Time-Green@users.noreply.github.com>
This commit is contained in:
SkyratBot
2023-08-01 02:05:46 +02:00
committed by GitHub
parent 6d5accbf5d
commit b234fb6396
3 changed files with 6 additions and 2 deletions
@@ -21,7 +21,7 @@ PROCESSING_SUBSYSTEM_DEF(station)
#endif
announcer = new announcer() //Initialize the station's announcer datum
SSparallax.random_layer.apply_global_effects() //Apply station effects that parallax might have
SSparallax.post_station_setup() //Apply station effects that parallax might have
return SS_INIT_SUCCESS