Best friends is 2 not 1

This commit is contained in:
EmosewaMC 2022-03-29 01:57:23 -07:00
parent 0c41026df0
commit 7b536ee079

View File

@ -267,7 +267,7 @@ void PropertyEntranceComponent::OnPropertyEntranceSync(Entity* entity, bool incl
// If we got a result than the two players are friends. // If we got a result than the two players are friends.
if (friendResult->next()) { if (friendResult->next()) {
isFriend = true; isFriend = true;
if (friendResult->getBoolean(1) == true) { if (friendResult->getInt(1) == 2) {
isBestFriend = true; isBestFriend = true;
} }
} }