diff options
author | Jesusaves <cpntb1@ymail.com> | 2021-03-17 02:54:12 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2021-03-17 02:54:12 -0300 |
commit | 78671ef8d75459784f3e5b6b0370eeab60ecaed6 (patch) | |
tree | 2769e7f8d27c218b4e6137ef1fae247dfc38c9f8 | |
parent | a8b82b103625e1f691622e149dfb56873dcb29a4 (diff) | |
download | serverdata-78671ef8d75459784f3e5b6b0370eeab60ecaed6.tar.gz serverdata-78671ef8d75459784f3e5b6b0370eeab60ecaed6.tar.bz2 serverdata-78671ef8d75459784f3e5b6b0370eeab60ecaed6.tar.xz serverdata-78671ef8d75459784f3e5b6b0370eeab60ecaed6.zip |
Fix typo
-rw-r--r-- | npc/functions/util.txt | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/npc/functions/util.txt b/npc/functions/util.txt index 4f0761b41..ffe472dd1 100644 --- a/npc/functions/util.txt +++ b/npc/functions/util.txt @@ -1012,16 +1012,19 @@ function script POL_LocToTP { if (.@tw$ == "NIVAL") return TP_NIVAL; - if (.@tw$ == "FROSTIA") - return TP_FROST; + if (.@tw$ == "ARTIS") + return TP_ARTIS; if (.@tw$ == "CANDOR") return TP_CANDOR; - // TODO: Change this to use npc/config/location.txt instead if (.@tw$ == "LILIT") return TP_LILIT; + // TODO: Change this to use npc/config/location.txt instead + if (.@tw$ == "FROSTIA") + return TP_FROST; + return Exception("Invalid town requested / POL_LocToTP", RB_DEFAULT|RB_SPEECH, -1); } |