mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-25 06:00:16 +01:00
Babyproofs rad nebula against ADMINS! (#79904)
Fixes #79845 Honestly this whole thing is awkward. I really don't want to block being able to force traits under any conditions, but admins keep forcing it on icebox which just kills everyone. This blocks nebula's storm specificaly from running on planetary maps 🆑 fix: Fixes nebula killing everyone when forced by an admin on icebox /🆑
This commit is contained in:
@@ -594,7 +594,7 @@
|
||||
|
||||
/datum/station_trait/nebula/hostile/radiation/apply_nebula_effect(effect_strength = 0)
|
||||
//big bombad now
|
||||
if(effect_strength > 0)
|
||||
if(effect_strength > 0 && !SSmapping.is_planetary()) //admins can force this
|
||||
if(!SSweather.get_weather_by_type(/datum/weather/rad_storm/nebula))
|
||||
COOLDOWN_START(src, send_care_package_at, send_care_package_time)
|
||||
SSweather.run_weather(/datum/weather/rad_storm/nebula)
|
||||
|
||||
Reference in New Issue
Block a user