summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-07-19 18:38:21 -0300
committerJesusaves <cpntb1@ymail.com>2019-07-19 18:38:21 -0300
commit475c9d85fb43c2d009a970bd3259c39bf0386fde (patch)
treee514b77666f438e292f89f727c32cc08aa932b0f
parent5841adb8f9004da464f59aa59a0523f78871a97a (diff)
downloadserverdata-475c9d85fb43c2d009a970bd3259c39bf0386fde.tar.gz
serverdata-475c9d85fb43c2d009a970bd3259c39bf0386fde.tar.bz2
serverdata-475c9d85fb43c2d009a970bd3259c39bf0386fde.tar.xz
serverdata-475c9d85fb43c2d009a970bd3259c39bf0386fde.zip
Use an exception with an use-case for it!
-rw-r--r--npc/003-0/trickmaster.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/npc/003-0/trickmaster.txt b/npc/003-0/trickmaster.txt
index 473ce2a84..538fbce0e 100644
--- a/npc/003-0/trickmaster.txt
+++ b/npc/003-0/trickmaster.txt
@@ -40,7 +40,8 @@
}
break;
default:
- mesc l("ERROR");
+ if (@menuret)
+ Exception("ERROR skill not implemented", RB_DEFAULT|RB_SPEECH);
break;
}
} while (@menuret);