diff --git a/game.go b/game.go index a11bbd8..7e9d8b4 100644 --- a/game.go +++ b/game.go @@ -131,7 +131,6 @@ func keyboardProcessor(screen tcell.Screen, keypresses chan int, gamestate chan // This function needs to know if the game is over. select { case <-time.After(10 * time.Millisecond): - case _, ok := <-gamestate: if !ok { return