[MIRROR] More globals (#12530)

Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
CHOMPStation2StaffMirrorBot
2026-03-15 19:26:29 +01:00
committed by GitHub
co-authored by Kashargul
parent de8fed65df
commit 4f5dce5ebe
238 changed files with 984 additions and 1026 deletions
+1 -1
View File
@@ -38,7 +38,7 @@ SUBSYSTEM_DEF(nightshift)
else
pickedsound = 'sound/AI/bright_lights.ogg'
*/
priority_announcement.Announce(message, new_title = "Automated Lighting System Announcement", /* new_sound = pickedsound,*/ zlevel = announce_z)
GLOB.priority_announcement.Announce(message, new_title = "Automated Lighting System Announcement", /* new_sound = pickedsound,*/ zlevel = announce_z)
// CHOMPEdit End
//VOREStation Edit End
+1 -1
View File
@@ -25,7 +25,7 @@ SUBSYSTEM_DEF(planets)
var/list/planet_datums = using_map.planet_datums_to_make
for(var/P in planet_datums)
var/datum/planet/NP = new P()
planets.Add(NP)
planets += NP
for(var/index in 1 to length(NP.expected_z_levels))
var/Z = NP.expected_z_levels[index]
if(!isnum(Z))
+2 -2
View File
@@ -354,8 +354,8 @@ SUBSYSTEM_DEF(ticker)
feedback_set_details("end_proper", "proper completion")
restart_timeleft = restart_timeout
if(blackbox)
blackbox.save_all_data_to_sql() // TODO - Blackbox or statistics subsystem
if(GLOB.blackbox)
GLOB.blackbox.save_all_data_to_sql() // TODO - Blackbox or statistics subsystem
end_game_state = END_GAME_ENDING
return