From 90607bdd5c1a27c0379bccf1d6e65dbc74fad000 Mon Sep 17 00:00:00 2001 From: David Markowitz <39972741+EmosewaMC@users.noreply.github.com> Date: Thu, 11 Jun 2026 07:11:52 -0700 Subject: [PATCH] fix: setting smashable ignoring lnv settings (#1992) tested that the computer build on crux no longer stays around for +12 seconds --- dGame/Entity.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dGame/Entity.cpp b/dGame/Entity.cpp index e9e4b4e8..5dde43e5 100644 --- a/dGame/Entity.cpp +++ b/dGame/Entity.cpp @@ -427,7 +427,7 @@ void Entity::Initialize() { comp->SetMaxArmor(destCompData[0].armor); comp->SetDeathBehavior(destCompData[0].death_behavior); - comp->SetIsSmashable(destCompData[0].isSmashable); + comp->SetIsSmashable(comp->GetIsSmashable() || destCompData[0].isSmashable); comp->SetLootMatrixID(destCompData[0].LootMatrixIndex); comp->SetCurrencyIndex(destCompData[0].CurrencyIndex);