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