[Fix] Fix Smile Pause
This commit is contained in:
@@ -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();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user