mirror of
https://github.com/DarkflameUniverse/DarkflameServer.git
synced 2024-11-10 02:08:20 +00:00
Best friends is 2 not 1
This commit is contained in:
parent
0c41026df0
commit
7b536ee079
@ -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;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user