Disable trash debug for now.
This commit is contained in:
parent
2c7c17e727
commit
adefe7bd20
10
game.go
10
game.go
@ -19,10 +19,10 @@ func gameinit() {
|
|||||||
// Quit the screen
|
// Quit the screen
|
||||||
quit(&game)
|
quit(&game)
|
||||||
|
|
||||||
fmt.Println("\nDebug time: Trash")
|
// fmt.Println("\nDebug time: Trash")
|
||||||
for i, t := range game.trash {
|
// for i, t := range game.trash {
|
||||||
fmt.Println("Trash: ", i, t)
|
// fmt.Println("Trash: ", i, t)
|
||||||
}
|
// }
|
||||||
|
|
||||||
// Give closure
|
// Give closure
|
||||||
if game.gameover == 1 {
|
if game.gameover == 1 {
|
||||||
@ -165,7 +165,7 @@ func (game *Game) keyboardProcessor() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
func quit(game *Game) {
|
func quit(game *Game) {
|
||||||
game.screen.Clear()
|
// game.screen.Clear()
|
||||||
maybePanic := recover()
|
maybePanic := recover()
|
||||||
game.screen.Fini()
|
game.screen.Fini()
|
||||||
if maybePanic != nil {
|
if maybePanic != nil {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user