From 9e37b70b7ef50507c0a3f9813597b071ee852a8a Mon Sep 17 00:00:00 2001 From: RicardoDiNu Date: Thu, 7 Mar 2024 22:15:45 +0100 Subject: [PATCH] delete duplicate score attribute in GameSession class --- src/main/java/com/uniovi/entities/GameSession.java | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/main/java/com/uniovi/entities/GameSession.java b/src/main/java/com/uniovi/entities/GameSession.java index 05bee1dd..4928b0e3 100644 --- a/src/main/java/com/uniovi/entities/GameSession.java +++ b/src/main/java/com/uniovi/entities/GameSession.java @@ -34,8 +34,6 @@ public class GameSession implements JsonEntity { private int score; - private int score; - public void addQuestion(boolean correct) { if(correct) correctQuestions++;