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(&game)
|
||||
|
||||
fmt.Println("\nDebug time: Trash")
|
||||
for i, t := range game.trash {
|
||||
fmt.Println("Trash: ", i, t)
|
||||
}
|
||||
// fmt.Println("\nDebug time: Trash")
|
||||
// for i, t := range game.trash {
|
||||
// fmt.Println("Trash: ", i, t)
|
||||
// }
|
||||
|
||||
// Give closure
|
||||
if game.gameover == 1 {
|
||||
@ -165,7 +165,7 @@ func (game *Game) keyboardProcessor() {
|
||||
}
|
||||
|
||||
func quit(game *Game) {
|
||||
game.screen.Clear()
|
||||
// game.screen.Clear()
|
||||
maybePanic := recover()
|
||||
game.screen.Fini()
|
||||
if maybePanic != nil {
|
||||
|
Loading…
x
Reference in New Issue
Block a user