mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2026-06-13 02:04:20 +00:00
fix: setting smashable ignoring lnv settings (#1992)
tested that the computer build on crux no longer stays around for +12 seconds
This commit is contained in:
@@ -427,7 +427,7 @@ void Entity::Initialize() {
|
|||||||
comp->SetMaxArmor(destCompData[0].armor);
|
comp->SetMaxArmor(destCompData[0].armor);
|
||||||
comp->SetDeathBehavior(destCompData[0].death_behavior);
|
comp->SetDeathBehavior(destCompData[0].death_behavior);
|
||||||
|
|
||||||
comp->SetIsSmashable(destCompData[0].isSmashable);
|
comp->SetIsSmashable(comp->GetIsSmashable() || destCompData[0].isSmashable);
|
||||||
|
|
||||||
comp->SetLootMatrixID(destCompData[0].LootMatrixIndex);
|
comp->SetLootMatrixID(destCompData[0].LootMatrixIndex);
|
||||||
comp->SetCurrencyIndex(destCompData[0].CurrencyIndex);
|
comp->SetCurrencyIndex(destCompData[0].CurrencyIndex);
|
||||||
|
|||||||
Reference in New Issue
Block a user