summaryrefslogtreecommitdiff
path: root/npc/test/rock.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/test/rock.txt')
-rw-r--r--npc/test/rock.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/npc/test/rock.txt b/npc/test/rock.txt
index 75c32ad23..e899ea4df 100644
--- a/npc/test/rock.txt
+++ b/npc/test/rock.txt
@@ -146,6 +146,11 @@ test,2,6,0 script rock NPC_PLAYER,{
close;
}
+ if (!is_admin()) {
+ mesc "Error 13: Permission Denied", 1;
+ close;
+ }
+
speech S_LAST_NEXT, l("Hello do you want to play rock scissors paper?");
do
{