summaryrefslogtreecommitdiff
path: root/npc/test
diff options
context:
space:
mode:
Diffstat (limited to 'npc/test')
-rw-r--r--npc/test/npc1.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/npc/test/npc1.txt b/npc/test/npc1.txt
index f6777f489..e19ffb66e 100644
--- a/npc/test/npc1.txt
+++ b/npc/test/npc1.txt
@@ -27,6 +27,10 @@ test,10,10,0 script npc1 NPC_TEST1,3,3,{
}
L_Start:
+ if (!is_admin()) {
+ mesc "Error 13: Permission Denied", 1;
+ close;
+ }
switch (select(
"show area",
"map",