Update PetComponent.cpp

This commit is contained in:
jadebenn 2024-01-01 12:24:13 -06:00 committed by GitHub
parent 17753c56e4
commit d5a0b71b9e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -793,7 +793,7 @@ void PetComponent::OnSpawn() {
Game::entityManager->SerializeEntity(m_Parent); Game::entityManager->SerializeEntity(m_Parent);
} }
void PetComponent::OnFollow(const float& deltaTime) { void PetComponent::OnFollow(const float deltaTime) {
Entity* owner = GetOwner(); Entity* owner = GetOwner();
if (!owner) return; if (!owner) return;