flutter: Show level up dialog only humanVsAi
This commit is contained in:
parent
73528be045
commit
b52a4e28a7
|
@ -519,7 +519,8 @@ class _GamePageState extends State<GamePage> with RouteAware {
|
|||
return;
|
||||
}
|
||||
|
||||
if (result == GameResult.win) {
|
||||
if (result == GameResult.win &&
|
||||
Game.instance.engineType == EngineType.humanVsAi) {
|
||||
showDialog(
|
||||
context: context,
|
||||
barrierDismissible: true,
|
||||
|
|
Loading…
Reference in New Issue