STscript: fix REPLACE_GETVAR with non-lowercase {{getvar}}

bec05909ebe591e32c6b581ed87e58887ed2e0fa

Cohee <18619528+Cohee1207@users.noreply.github.com>

1 files changed, +1 -0Ignore whitespace
public/scripts/slash-commands/SlashCommandParser.js+1 -0
@@ -637,6 +637,7 @@ export class SlashCommandParser {
637637 replaceGetvar(value) {
638638 return value.replace(/{{(get(?:global)?var)::([^}]+)}}/gi, (match, cmd, name, idx) => {
639639 name = name.trim();
640+ cmd = cmd.toLowerCase();
640641 const startIdx = this.index - value.length + idx;
641642 const endIdx = this.index - value.length + idx + match.length;
642643 // store pipe