fix: nexus tower smashable (#1320)

This commit is contained in:
David Markowitz
2023-11-25 20:50:20 -08:00
committed by GitHub
parent 8a15906885
commit 0c32be01ba

View File

@@ -554,6 +554,12 @@ void Entity::Initialize() {
Loot::CacheMatrix(activityID);
}
const auto timeBeforeSmash = GetVar<float>(u"tmeSmsh");
if (timeBeforeSmash > 0) {
rebuildComponent->SetTimeBeforeSmash(timeBeforeSmash);
}
const auto compTime = GetVar<float>(u"compTime");
if (compTime > 0) {