diff options
-rw-r--r-- | js/puzzle-dungeon/parser.js | 2 |
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()); }); } |