[TM Candidate] Overhauls orbit and POI code to fix part of issue #61508 where players could observe /mob/living/new_player on the lobby. (#61509)

This commit is contained in:
Timberpoes
2021-09-22 15:54:15 -07:00
committed by GitHub
parent 511b430f97
commit 16d541e975
41 changed files with 596 additions and 230 deletions
+2 -2
View File
@@ -12,8 +12,8 @@ GLOBAL_DATUM(highlander_controller, /datum/highlander_controller)
RegisterSignal(SSdcs, COMSIG_GLOB_CREWMEMBER_JOINED, .proc/new_highlander)
sound_to_playing_players('sound/misc/highlander.ogg')
send_to_playing_players(span_boldannounce("<font size=6>THERE CAN BE ONLY ONE</font>"))
for(var/obj/item/disk/nuclear/fukkendisk in GLOB.poi_list)
var/datum/component/stationloving/component = fukkendisk.GetComponent(/datum/component/stationloving)
for(var/obj/item/disk/nuclear/nuke_disk as anything in SSpoints_of_interest.real_nuclear_disks)
var/datum/component/stationloving/component = nuke_disk.GetComponent(/datum/component/stationloving)
component?.relocate() //Gets it out of bags and such
for(var/mob/living/carbon/human/human in GLOB.player_list)