about summary refs log tree commit diff stats
path: root/js
diff options
context:
space:
mode:
authorelioat <elioat@tilde.institute>2024-07-07 15:37:12 -0400
committerelioat <elioat@tilde.institute>2024-07-07 15:37:12 -0400
commit171c7e8e1d2660954af7feb41f7632e088f6d773 (patch)
tree17eb9fe18c29ff69d9264e590a384506e18f78aa /js
parent68fc896ef835cc2b802e69be76cbed590c4ba939 (diff)
downloadtour-171c7e8e1d2660954af7feb41f7632e088f6d773.tar.gz
*
Diffstat (limited to 'js')
-rw-r--r--js/puzzle-dungeon/parser.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/js/puzzle-dungeon/parser.js b/js/puzzle-dungeon/parser.js
index ad174a1..cbf9983 100644
--- a/js/puzzle-dungeon/parser.js
+++ b/js/puzzle-dungeon/parser.js
@@ -3,6 +3,6 @@ import { handleCommand } from './commandHandler.js';
 export function parseCommands(commands) {
     const commandList = commands.trim().split('\n');
     commandList.forEach(command => {
-        handleCommand(command.trim());
+        handleCommand(command.trim().toLowerCase());
     });
 }