[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)
This commit is contained in:
Time-Green
2023-07-31 08:58:19 +02:00
committed by GitHub
parent 456ccb2560
commit a695a79f01
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