Skip to content

Commit

Permalink
Why reference global tho
Browse files Browse the repository at this point in the history
  • Loading branch information
morrowwolf committed Nov 7, 2023
1 parent b1e4835 commit a1b69ed
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/datums/datacore.dm
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit a1b69ed

Please sign in to comment.