From 39a31ac8da289701fb04e9ef19b41a04e3802668 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sun, 8 Sep 2019 23:31:57 -0300 Subject: As all musics are currently lower-case, make that a rule --- npc/commands/music.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'npc/commands') diff --git a/npc/commands/music.txt b/npc/commands/music.txt index 8ab476b6a..f8fbe54ba 100644 --- a/npc/commands/music.txt +++ b/npc/commands/music.txt @@ -23,7 +23,7 @@ OnCall: // TODO: tmw-like argv splitter getmapxy .@map$, .@void, .@void, UNITTYPE_PC; // get map - .@key$ = .@atcmd_parameters$[0]; + .@key$ = strtolower(.@atcmd_parameters$[0]); .@m$ = htget(.hash, .@key$, "Not found"); if (.@m$ == "Not found") { -- cgit v1.2.3-60-g2f50