diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-07-30 00:14:43 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-07-30 00:14:43 -0300 |
commit | bef05c1888574f5c12ce62605a40806989d4e166 (patch) | |
tree | e8fd1f12bef08deb8d0ab9f041fd793d86cdbd34 /npc/test/rock.txt | |
parent | 3ffdbcfa672bc57dfa6b84a52a7d5ef94596203c (diff) | |
download | serverdata-bef05c1888574f5c12ce62605a40806989d4e166.tar.gz serverdata-bef05c1888574f5c12ce62605a40806989d4e166.tar.bz2 serverdata-bef05c1888574f5c12ce62605a40806989d4e166.tar.xz serverdata-bef05c1888574f5c12ce62605a40806989d4e166.zip |
Safety check to another VERY dangerous NPC: Mr. Rock
Could open a bound error!!
Diffstat (limited to 'npc/test/rock.txt')
-rw-r--r-- | npc/test/rock.txt | 5 |
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 { |