Skip to content

Commit

Permalink
pause while console small fix
Browse files Browse the repository at this point in the history
  • Loading branch information
ZacharyPatten committed Oct 31, 2023
1 parent 09e9e1f commit c5ba97d
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion Projects/Tetris/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -308,12 +308,13 @@ void HandlePlayerInput()
if (timer.IsRunning)
{
timer.Stop();
DrawFrame();
}
else if (!consoleTooSmallScreen)
{
timer.Start();
DrawFrame();
}
DrawFrame();
break;
case ConsoleKey.Spacebar:
if (timer.IsRunning)
Expand Down

0 comments on commit c5ba97d

Please sign in to comment.