From 1b01ea4e3ef7ee682dbc03eecaa19fec1b3c7ff8 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Sat, 20 May 2023 22:27:30 +0100 Subject: [PATCH] [MIRROR] fixes clown planet report [MDB IGNORE] (#21283) * fixes clown planet report (#75508) ## About The Pull Request it looked if a typepath was in the list of station traits instead of an instance ## Why It's Good For The Game we did it ## Changelog :cl: fix: fixes clown planet report /:cl: * fixes clown planet report --------- Co-authored-by: Fikou <23585223+Fikou@users.noreply.github.com> --- code/game/gamemodes/dynamic/dynamic.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/gamemodes/dynamic/dynamic.dm b/code/game/gamemodes/dynamic/dynamic.dm index 530263234e1..8c3f77b129e 100644 --- a/code/game/gamemodes/dynamic/dynamic.dm +++ b/code/game/gamemodes/dynamic/dynamic.dm @@ -330,7 +330,7 @@ GLOBAL_VAR_INIT(dynamic_forced_threat_level, -1) /datum/game_mode/dynamic/proc/generate_advisory_level() var/advisory_string = "" if (prob(PULSAR_REPORT_CHANCE)) - if (/datum/station_trait/bananium_shipment in SSstation.station_traits) + if(HAS_TRAIT(SSstation, STATION_TRAIT_BANANIUM_SHIPMENTS)) advisory_string += "Advisory Level: Clown Planet
" advisory_string += "Your sector's advisory level is Clown Planet! Our bike horns have picked up on a large bananium stash. Clowns show a large influx of clowns on your station. We highly advice you to slip any threats to keep Honkotrasen assets within the Banana Sector. The Department advises defending chemistry from any clowns that are trying to make baldium or space lube." return advisory_string