From 7f9f52d4d3cc28d830e0fa038f54e70c98b637ac Mon Sep 17 00:00:00 2001 From: Hugo Dimitrijevic Date: Sun, 7 Apr 2024 19:26:00 +0200 Subject: [PATCH] correction bug --- app/src/main/java/fr/iutfbleau/sae/GameView.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/fr/iutfbleau/sae/GameView.java b/app/src/main/java/fr/iutfbleau/sae/GameView.java index fbdfae0..9d427e1 100644 --- a/app/src/main/java/fr/iutfbleau/sae/GameView.java +++ b/app/src/main/java/fr/iutfbleau/sae/GameView.java @@ -277,7 +277,7 @@ public class GameView extends View implements View.OnTouchListener { this.drawGrid(canvas); - if (this.model != null) + if (this.model == null) return; this.drawLines(canvas);