mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-30 00:35:45 +01:00
[MIRROR] More globals (#12530)
Co-authored-by: Kashargul <144968721+Kashargul@users.noreply.github.com>
This commit is contained in:
co-authored by
Kashargul
parent
de8fed65df
commit
4f5dce5ebe
@@ -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
|
||||
|
||||
|
||||
@@ -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))
|
||||
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user