diff --git a/Tutorial:Screen,-colors-and-squares.md b/Tutorial:Screen,-colors-and-squares.md index ec98de8..4a54b49 100644 --- a/Tutorial:Screen,-colors-and-squares.md +++ b/Tutorial:Screen,-colors-and-squares.md @@ -14,8 +14,8 @@ import ( func update(screen *ebiten.Image) error { // Display the text though the debug function - ebitenutil.DebugPrint(screen, "Our first game in Ebiten!") - + if err := ebitenutil.DebugPrint(screen, "Our first game in Ebiten!"); err != nil { + } return nil }