mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-27 07:08:00 +01:00
Fix Fancy Weather prefrences not being respected (#97555)
(cherry picked from commit e1dc396a75f3f4c1a0b9e30820f6cb94c092dd8e)
This commit is contained in:
@@ -120,7 +120,7 @@
|
||||
if(!istype(mymob) || !mymob.canon_client?.prefs?.read_preference(/datum/preference/toggle/particle_weather))
|
||||
return
|
||||
|
||||
SSweather.particle_planemasters += src
|
||||
SSweather.particle_planemasters[src] = TRUE
|
||||
|
||||
// Lobby HUDs, we don't care about weather during init anyways
|
||||
if(!SSmapping.initialized)
|
||||
@@ -137,6 +137,9 @@
|
||||
/atom/movable/screen/plane_master/rendering_plate/particle_weather/proc/z_changed(datum/source, new_z)
|
||||
SIGNAL_HANDLER
|
||||
|
||||
if(!SSweather.particle_planemasters[src])
|
||||
return
|
||||
|
||||
if(!SSmapping.initialized)
|
||||
return
|
||||
|
||||
|
||||
Reference in New Issue
Block a user