summaryrefslogtreecommitdiff
path: root/npc/commands
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-09-08 23:31:57 -0300
committerJesusaves <cpntb1@ymail.com>2019-09-08 23:31:57 -0300
commit39a31ac8da289701fb04e9ef19b41a04e3802668 (patch)
treef14c584291b9c5e1502c0c77f84618a6deaf2e60 /npc/commands
parent6abb5ec1ebcba8dacb66b7954cab4f2c8ef105eb (diff)
downloadserverdata-39a31ac8da289701fb04e9ef19b41a04e3802668.tar.gz
serverdata-39a31ac8da289701fb04e9ef19b41a04e3802668.tar.bz2
serverdata-39a31ac8da289701fb04e9ef19b41a04e3802668.tar.xz
serverdata-39a31ac8da289701fb04e9ef19b41a04e3802668.zip
As all musics are currently lower-case, make that a rule
Diffstat (limited to 'npc/commands')
-rw-r--r--npc/commands/music.txt2
1 files changed, 1 insertions, 1 deletions
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") {