From 8ce89c227c16ccb98ec7c37626f20e3cf889eb53 Mon Sep 17 00:00:00 2001 From: Mostafa Date: Fri, 10 Apr 2026 14:21:12 +0200 Subject: [PATCH] remove artist from answer and only song --- .../java/group07/beatbattle/controller/LobbyController.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/core/src/main/java/group07/beatbattle/controller/LobbyController.java b/core/src/main/java/group07/beatbattle/controller/LobbyController.java index e363076..7bf59b6 100644 --- a/core/src/main/java/group07/beatbattle/controller/LobbyController.java +++ b/core/src/main/java/group07/beatbattle/controller/LobbyController.java @@ -356,12 +356,12 @@ private void buildAndStartSession(String sessionId, List sessionPlayers, Song correct = songs.get(q); List options = new ArrayList<>(); - options.add(correct.getTitle() + " - " + correct.getArtist()); + options.add(correct.getTitle()); int decoysAdded = 0; for (Song decoy : decoyPool) { if (decoysAdded >= OPTIONS_PER_Q - 1) break; - String label = decoy.getTitle() + " - " + decoy.getArtist(); + String label = decoy.getTitle(); if (!options.contains(label)) { options.add(label); decoysAdded++;