From 0c32be01baab5d2169620865abc0629d675636fb Mon Sep 17 00:00:00 2001 From: David Markowitz <39972741+EmosewaMC@users.noreply.github.com> Date: Sat, 25 Nov 2023 20:50:20 -0800 Subject: [PATCH] fix: nexus tower smashable (#1320) --- dGame/Entity.cpp | 6 ++++++ 1 file changed, 6 insertions(+) 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) {