From 78671ef8d75459784f3e5b6b0370eeab60ecaed6 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Wed, 17 Mar 2021 02:54:12 -0300 Subject: Fix typo --- npc/functions/util.txt | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'npc') 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); } -- cgit v1.2.3-60-g2f50