Parcourir la source

Disable trash debug for now.

Sacha Ligthert il y a 2 ans
Parent
commit
adefe7bd20
1 fichiers modifiés avec 5 ajouts et 5 suppressions
  1. 5 5
      game.go

+ 5 - 5
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 {