diff --git a/dGame/Entity.cpp b/dGame/Entity.cpp index 0f8e9351..23bf0577 100644 --- a/dGame/Entity.cpp +++ b/dGame/Entity.cpp @@ -554,6 +554,12 @@ void Entity::Initialize() { Loot::CacheMatrix(activityID); } + const auto timeBeforeSmash = GetVar(u"tmeSmsh"); + + if (timeBeforeSmash > 0) { + rebuildComponent->SetTimeBeforeSmash(timeBeforeSmash); + } + const auto compTime = GetVar(u"compTime"); if (compTime > 0) {