function rename

This commit is contained in:
jadebenn
2023-12-13 01:06:58 -06:00
parent 775e4fee9e
commit 2a4cfe3447
3 changed files with 4 additions and 4 deletions

View File

@@ -108,7 +108,7 @@ void PetDigServer::OnUse(Entity* self, Entity* user) {
auto* petComponent = PetComponent::GetActivePet(user->GetObjectID());
if (!petComponent) return;
if(petComponent->GetIsReadyToInteract()) { // TODO: Add handling of the "first time" dig message
if(petComponent->IsReadyToInteract()) { // TODO: Add handling of the "first time" dig message
auto* destroyableComponent = user->GetComponent<DestroyableComponent>();
if (!destroyableComponent) return;