Disable trash debug for now.

This commit is contained in:
Sacha Ligthert 2023-12-06 19:24:46 +01:00
parent 2c7c17e727
commit adefe7bd20

10
game.go
View File

@ -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 {