From e3ccc4f0ea60e66eaef53cf862ed2eda462393b6 Mon Sep 17 00:00:00 2001 From: Sally Coolatta Date: Fri, 11 Oct 2024 20:09:19 -0400 Subject: [PATCH] Fix UnArchiveSectors not actually adding tags It was removing tags and then also removing the new ones, instead of removing tags and adding the new ones. Netsaves are so fucking scuffed. --- src/p_saveg.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/p_saveg.cpp b/src/p_saveg.cpp index 57536c4a3..871149fdd 100644 --- a/src/p_saveg.cpp +++ b/src/p_saveg.cpp @@ -2476,7 +2476,7 @@ static void UnArchiveSectors(savebuffer_t *save) // Add new entries. for (j = 0; j < sectors[i].tags.count; j++) - Taggroup_Remove(tags_sectors, sectors[i].tags.tags[j], i); + Taggroup_Add(tags_sectors, sectors[i].tags.tags[j], i); }