summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-01-01 21:40:40 -0200
committerJesusaves <cpntb1@ymail.com>2019-01-01 21:40:40 -0200
commit0a96bafa6680777050a51c8ff1961f6cadbcc068 (patch)
treef1058bb861e6267349f9c9d76c3e5c07fe3e070e /npc
parent57f3de6e9009d672f42ba8ec268f012d3548e110 (diff)
downloadserverdata-0a96bafa6680777050a51c8ff1961f6cadbcc068.tar.gz
serverdata-0a96bafa6680777050a51c8ff1961f6cadbcc068.tar.bz2
serverdata-0a96bafa6680777050a51c8ff1961f6cadbcc068.tar.xz
serverdata-0a96bafa6680777050a51c8ff1961f6cadbcc068.zip
Staff can logout at botcheck area, no problem
Diffstat (limited to 'npc')
-rw-r--r--npc/001-8/hub.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/npc/001-8/hub.txt b/npc/001-8/hub.txt
index 3bb810690..0fb6795f0 100644
--- a/npc/001-8/hub.txt
+++ b/npc/001-8/hub.txt
@@ -413,7 +413,8 @@ OnPCLogoutEvent:
}
// Logout on botcheck area
if (.@mapa$ ~= "botcheck" && !@qhub_died) {
- atcommand "@jail "+strcharinfo(0);
+ if (!is_staff())
+ atcommand "@jail "+strcharinfo(0);
}
@qhub_victor=0;