Fix meteor announce runtime (#91719)

## About The Pull Request

`if(GLOB.meteor_list)` will always pass because it's always a list, it
should be checking for length. At least from what I can tell.
This commit is contained in:
MrMelbert
2025-06-20 18:01:00 +02:00
committed by GitHub
parent 0593129c26
commit 86eb20f0cd
@@ -27,7 +27,7 @@
spawn_meteor(GLOB.meteors_stray)
/datum/round_event/stray_meteor/announce(fake)
if(GLOB.meteor_list)
if(length(GLOB.meteor_list))
var/obj/effect/meteor/detected_meteor = pick(GLOB.meteor_list) //If we accidentally pick a meteor not spawned by the event, we're still technically not wrong
var/sensor_name = detected_meteor.signature
priority_announce("Our [sensor_name] sensors have detected an incoming signature approaching [GLOB.station_name]. Please brace for impact.", "Meteor Alert")