From a1b69ed4397ae6876f40b44420ace7ddf472f1ce Mon Sep 17 00:00:00 2001 From: Morrow Date: Tue, 7 Nov 2023 07:57:23 -0500 Subject: [PATCH] Why reference global tho --- code/datums/datacore.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/datums/datacore.dm b/code/datums/datacore.dm index b8b02fed4f..31e909b068 100644 --- a/code/datums/datacore.dm +++ b/code/datums/datacore.dm @@ -15,7 +15,7 @@ GLOBAL_DATUM_INIT(data_core, /datum/datacore, new) /datum/datacore/proc/rename_platoon(datum/source, new_name, old_name) SIGNAL_HANDLER - for(var/datum/data/record/cycled_data_record in GLOB.data_core.general) + for(var/datum/data/record/cycled_data_record in general) if(cycled_data_record.fields["squad"] == old_name) cycled_data_record.fields["squad"] = new_name