Convert some more globals (#19231)

* move ref lists from world new to ref list creation

* tg styl

* .

* next globals

* ugh

* some more

* pain

* .

* horror

* .

* .

* .

* shoe me

* ye

* .

* eh

* .

* .

---------

Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
Kashargul
2026-03-02 23:57:41 +01:00
committed by GitHub
co-authored by Cameron Lennox
parent ecca95d008
commit 1fcbb216e7
100 changed files with 547 additions and 797 deletions
@@ -56,13 +56,13 @@
if(!T)
return PROXIMITY_OFF_CAMERANET
// Now for the somewhat harder AI cameranet checks.
// Now for the somewhat harder AI GLOB.cameranet checks.
// Check if we are even on the cameranet.
if(!cameranet.checkVis(T))
// Check if we are even on the GLOB.cameranet.
if(!GLOB.cameranet.checkVis(T))
return PROXIMITY_OFF_CAMERANET
var/datum/chunk/chunk = cameranet.getChunk(T.x, T.y, T.z)
var/datum/chunk/chunk = GLOB.cameranet.getChunk(T.x, T.y, T.z)
if(!chunk)
return PROXIMITY_OFF_CAMERANET
@@ -6,7 +6,7 @@
// Description - Returns the list of newsfeeds, compiled for template processing
/obj/item/communicator/proc/compile_news()
var/list/feeds = list()
for(var/datum/feed_channel/channel in news_network.network_channels)
for(var/datum/feed_channel/channel in GLOB.news_network.network_channels)
var/list/messages = list()
if(!channel.censored && channel.channel_name != "Vir News Network") //Do not load the 'IC news' channel as it is simply too long.
var/index = 0
@@ -41,7 +41,7 @@
var/list/news = list()
// Compile all the newscasts
for(var/datum/feed_channel/channel in news_network.network_channels)
for(var/datum/feed_channel/channel in GLOB.news_network.network_channels)
if(!channel.censored)
for(var/datum/feed_message/FM in channel.messages)
var/body = replacetext(FM.body, "\n", "<br>")
+1 -1
View File
@@ -16,7 +16,7 @@
for(var/obj/structure/lattice/LAT in src.loc)
if(LAT != src)
log_mapping("Found multiple lattices at '[log_info_line(loc)]'") //VOREStation Edit, why was this a runtime, it's harmless
// log_mapping("Found multiple lattices at '[log_info_line(loc)]'") // We do this on map lint level. This messes with random seed genned maps where such can happen in rare cases
return INITIALIZE_HINT_QDEL
icon = 'icons/obj/smoothlattice.dmi'
icon_state = "latticeblank"