summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2021-05-25 23:22:40 -0300
committerJesusaves <cpntb1@ymail.com>2021-05-25 23:22:40 -0300
commit5e24bea13adcded06815b2c47ed603deb2ef7264 (patch)
treeb21ea6d4a9d92d7a91084c5b39126d4d86373ed0 /npc/functions
parentaedeb03a8001ea8b6269df79f58f4af23b9194cc (diff)
downloadserverdata-5e24bea13adcded06815b2c47ed603deb2ef7264.tar.gz
serverdata-5e24bea13adcded06815b2c47ed603deb2ef7264.tar.bz2
serverdata-5e24bea13adcded06815b2c47ed603deb2ef7264.tar.xz
serverdata-5e24bea13adcded06815b2c47ed603deb2ef7264.zip
Avoid Mirror Lake from accidentally overriding Jail
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/hub.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt
index 8201bda0a..500de2f17 100644
--- a/npc/functions/hub.txt
+++ b/npc/functions/hub.txt
@@ -23,7 +23,7 @@ function script HUB_Login {
deletearray PVP_COOLDOWN;
// Mirror Lake functionality
- if (getvaultid()) {
+ if (getvaultid() && !getstatus(SC_JAILED)) {
.@gto=get_byte(##00_INFO, 3);
.@mlp=get_nibble(##00_INFO, 5);
// Work only on new chars, or chars which cleared Tulimshar.