From c472b2ce5e817f9b4847325513128fbc8b4cf383 Mon Sep 17 00:00:00 2001 From: SoundSSGood <87084363+SoundSSGood@users.noreply.github.com> Date: Fri, 4 Oct 2024 15:19:57 +0300 Subject: [PATCH] BulkEraseArtifacts crash fix --- lib/networkPacks/NetPacksLib.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/networkPacks/NetPacksLib.cpp b/lib/networkPacks/NetPacksLib.cpp index ae31fdec8..ed5e71039 100644 --- a/lib/networkPacks/NetPacksLib.cpp +++ b/lib/networkPacks/NetPacksLib.cpp @@ -1715,7 +1715,7 @@ void BulkEraseArtifacts::applyGs(CGameState *gs) for(auto & slotInfoWorn : artSet->artifactsWorn) { auto art = slotInfoWorn.second.artifact; - if(art->isCombined() && art->isPart(slotInfo->getArt())) + if(art->isCombined() && art->isPart(slotInfo->artifact)) { dis.al.slot = artSet->getArtPos(art); break;