You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I assumed the reference to the active player gets lost when leaving an activeplayer state.
But that turns out to be false, so there is no need to store the "active_player_id" as a game state label.
Instead, to retrieve the last active player, I can just use $this->getActivePlayerId() in game/multipleactiveplayer states.
The text was updated successfully, but these errors were encountered:
I assumed the reference to the active player gets lost when leaving an
activeplayer
state.But that turns out to be false, so there is no need to store the "active_player_id" as a game state label.
Instead, to retrieve the last active player, I can just use
$this->getActivePlayerId()
in game/multipleactiveplayer states.The text was updated successfully, but these errors were encountered: