I'm noticing some unexpected behaviour client-side during multiactiveplayer states. I'm using this.restoreServerGameState() to cancel client-side states. However, whenever I use it the client seems to think the player is not one of the 'active' multiple players.
I notice that both onEnteringState() & last_server_state do not have 'multiactive' array populated after transitioning to a multiactiveplayer state. But if I refresh the page 'multiactive' array is populated and restoreServerGameState() works as expected. I'm not sure if its related.
am using this method incorrectly? is there an alternative?
thanks
I notice that both onEnteringState() & last_server_state do not have 'multiactive' array populated after transitioning to a multiactiveplayer state. But if I refresh the page 'multiactive' array is populated and restoreServerGameState() works as expected. I'm not sure if its related.
am using this method incorrectly? is there an alternative?
thanks