[Fix] Fix Smile Pause

This commit is contained in:
2026-06-07 00:41:35 +07:00
parent 6c9cdaf67d
commit e487795e6f
6 changed files with 42 additions and 40 deletions
@@ -197,7 +197,8 @@ namespace Minesweeper.Commands
public void Handle(PauseCommand command)
{
if (gameStateService.Current == GameState.Playing)
var state = gameStateService.Current;
if (state == GameState.Preparing || state == GameState.Playing)
{
pauseService.Pause();
}