Bug fix. Now allows pass on room select.
This commit is contained in:
parent
50abb6f9a9
commit
97981def6e
1 changed files with 9 additions and 2 deletions
|
|
@ -144,9 +144,16 @@ public class GameManager : MonoBehaviour
|
||||||
}
|
}
|
||||||
|
|
||||||
private void PassRequested(object sender, EventArgs e) {
|
private void PassRequested(object sender, EventArgs e) {
|
||||||
if (state is GameState.PickDiceOne or GameState.PickDiceTwo)
|
switch (state)
|
||||||
{
|
{
|
||||||
|
case GameState.PickDiceOne:
|
||||||
|
case GameState.PickDiceTwo:
|
||||||
|
case GameState.PickRoomOne:
|
||||||
|
case GameState.PickRoomTwo:
|
||||||
PassTurn();
|
PassTurn();
|
||||||
|
break;
|
||||||
|
default:
|
||||||
|
return;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue