From 8bb4758121a0c36530ba23dcd077898add433ea2 Mon Sep 17 00:00:00 2001 From: Gabriel Dehame Date: Wed, 1 Mar 2023 10:59:31 +0100 Subject: [PATCH] =?UTF-8?q?appel=20de=20callback=20lorsqu'on=20clique=20su?= =?UTF-8?q?r=20un=20couloir=20enlev=C3=A9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/Map.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/Map.js b/src/Map.js index 00f400a..e197b4b 100644 --- a/src/Map.js +++ b/src/Map.js @@ -196,7 +196,7 @@ function newPolygon(element, positions, selectedRoom, callbackRoomSelected, call else if (element["type"] === "C") { // In this case it is a corridor - return callbackRoomSelected(element["id"])}}> + return {element["id"]} }