Make better

This commit is contained in:
Aaron Kimbre
2023-05-09 22:37:57 -05:00
parent 051395e4c9
commit 0e8af24572
2 changed files with 8 additions and 8 deletions

View File

@@ -30,7 +30,7 @@ void SwitchBehavior::Handle(BehaviorContext* context, RakNet::BitStream* bitStre
Game::logger->LogDebug("SwitchBehavior", "[%i] State: (%d), imagination: (%i) / (%f)", entity->GetLOT(), state, destroyableComponent->GetImagination(), destroyableComponent->GetMaxImagination());
if (state && destroyableComponent->GetImagination() >= m_imagination) {
if (state) {
this->m_actionTrue->Handle(context, bitStream, branch);
} else {
this->m_actionFalse->Handle(context, bitStream, branch);