Hey, I have this function from LoadBalancingListener override
it is always returning true for every player, even for new player joins.
I also tried taking player from the function parameter and calling
Am i doing the wrong things? do I need to loop manually through all integer JVector and get the lowest one to check if it is master client?
void PhotonLoadBalancingListener::joinRoomEventAction(int playerNr,
const ExitGames::Common::JVector<int>& playernrs, const ExitGames::LoadBalancing::Player& player)
and everytime I do if (PhotonLBClient->getLocalPlayer().getIsMasterClient()),
it is always returning true for every player, even for new player joins.
I also tried taking player from the function parameter and calling
player.getIsMasterClient(),
it's also returning true all the time.Am i doing the wrong things? do I need to loop manually through all integer JVector and get the lowest one to check if it is master client?