From 7b536ee079185ebf02b708ccf76c0340770e922e Mon Sep 17 00:00:00 2001 From: EmosewaMC <39972741+EmosewaMC@users.noreply.github.com> Date: Tue, 29 Mar 2022 01:57:23 -0700 Subject: [PATCH] Best friends is 2 not 1 --- dGame/dComponents/PropertyEntranceComponent.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dGame/dComponents/PropertyEntranceComponent.cpp b/dGame/dComponents/PropertyEntranceComponent.cpp index fbbdb896..5ee832fd 100644 --- a/dGame/dComponents/PropertyEntranceComponent.cpp +++ b/dGame/dComponents/PropertyEntranceComponent.cpp @@ -267,7 +267,7 @@ void PropertyEntranceComponent::OnPropertyEntranceSync(Entity* entity, bool incl // If we got a result than the two players are friends. if (friendResult->next()) { isFriend = true; - if (friendResult->getBoolean(1) == true) { + if (friendResult->getInt(1) == 2) { isBestFriend = true; } }