mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2025-07-07 04:00:02 +00:00
no longer bad (you know it)
This commit is contained in:
parent
472f873e57
commit
f7bcbb0506
@ -852,7 +852,6 @@ void PetComponent::StartInteractBouncer() {
|
|||||||
destroyableComponent->SetImagination(imagination);
|
destroyableComponent->SetImagination(imagination);
|
||||||
Game::entityManager->SerializeEntity(user);
|
Game::entityManager->SerializeEntity(user);
|
||||||
|
|
||||||
// THIS IS ALL BAD, BAD, BAD! FIX IT, ME! >:(
|
|
||||||
SetIsHandlingInteraction(true);
|
SetIsHandlingInteraction(true);
|
||||||
SwitchComponent* closestSwitch = SwitchComponent::GetClosestSwitch(m_MovementAI->GetDestination()); // TODO: Find a better way to do this
|
SwitchComponent* closestSwitch = SwitchComponent::GetClosestSwitch(m_MovementAI->GetDestination()); // TODO: Find a better way to do this
|
||||||
closestSwitch->OnUse(m_Parent);
|
closestSwitch->OnUse(m_Parent);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user