Re: SmartFox.joinedRooms problem - lists rooms I already left, and admin tool is correct
Posted: 04 Apr 2017, 07:32
Thanks Lapo.
You can see in our code I posted we do remove all players from the rooms first, then after all players are confirmed removed we add them to their new room assignments.
I just found out the USER_ENTER_EVENT and USER_EXIT_EVENT were turned off on the parent room. (not the table rooms, which are also getting duplicated in the array) Would that cause issues with the joinedRooms array?
You can see in our code I posted we do remove all players from the rooms first, then after all players are confirmed removed we add them to their new room assignments.
I just found out the USER_ENTER_EVENT and USER_EXIT_EVENT were turned off on the parent room. (not the table rooms, which are also getting duplicated in the array) Would that cause issues with the joinedRooms array?