diff --git a/map/Kimatu-App/MapGame.js b/map/Kimatu-App/MapGame.js index d5f04a0..08cb2c5 100644 --- a/map/Kimatu-App/MapGame.js +++ b/map/Kimatu-App/MapGame.js @@ -60,9 +60,9 @@ } // チートモードの切り替え - cheatButton.addEventListener('click', () => { + cheatmode.addEventListener('click', () => { isCheatMode = !isCheatMode; - cheatButton.textContent = isCheatMode ? "チートモード: ON" : "チートモード: OFF"; + cheatmode.textContent = isCheatMode ? "チートモード: ON" : "チートモード: OFF"; updatePinAvailability(); });