Browse Source

BulkEraseArtifacts crash fix

SoundSSGood 1 year ago
parent
commit
c472b2ce5e
1 changed files with 1 additions and 1 deletions
  1. 1 1
      lib/networkPacks/NetPacksLib.cpp

+ 1 - 1
lib/networkPacks/NetPacksLib.cpp

@@ -1715,7 +1715,7 @@ void BulkEraseArtifacts::applyGs(CGameState *gs)
 			for(auto & slotInfoWorn : artSet->artifactsWorn)
 			for(auto & slotInfoWorn : artSet->artifactsWorn)
 			{
 			{
 				auto art = slotInfoWorn.second.artifact;
 				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);
 					dis.al.slot = artSet->getArtPos(art);
 					break;
 					break;