summaryrefslogtreecommitdiff
path: root/npc/items
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2022-01-06 15:36:57 -0300
committerJesusaves <cpntb1@ymail.com>2022-01-06 15:36:57 -0300
commit753b81287ab1fede17a83262ef224e40387254b1 (patch)
tree7a4766e01151ccf6cc4a059560de4c475c741ac8 /npc/items
parent31805cc355695452779ee15357520ef955813883 (diff)
downloadserverdata-753b81287ab1fede17a83262ef224e40387254b1.tar.gz
serverdata-753b81287ab1fede17a83262ef224e40387254b1.tar.bz2
serverdata-753b81287ab1fede17a83262ef224e40387254b1.tar.xz
serverdata-753b81287ab1fede17a83262ef224e40387254b1.zip
Hot-not-fix
Diffstat (limited to 'npc/items')
-rw-r--r--npc/items/books.txt6
1 files changed, 6 insertions, 0 deletions
diff --git a/npc/items/books.txt b/npc/items/books.txt
index 7fb772169..ac843588d 100644
--- a/npc/items/books.txt
+++ b/npc/items/books.txt
@@ -414,6 +414,12 @@ OnScry:
mesc l("The requested char is not online or does not exist."), 1;
close;
}
+ /* attachrid() + mes() is a no-go for this */
+ if (!is_staff()) {
+ mesc l("Scrying others has been temporarily restricted to staff only due to bugs."), 1;
+ close;
+ }
+ /* attachrid() + mes() is a no-go for this */
setnpcdialogtitle sprintf("@scry %s", .@w$);
attachrid(.@id);
if (!GSET_NOSCRY)