Esthetics
This commit is contained in:
parent
e66f2a2672
commit
3fb13a165f
1
game.go
1
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.
|
// 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
|
||||||
|
Loading…
x
Reference in New Issue
Block a user