summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2018-02-27 01:01:08 +0300
committerAndrei Karas <akaras@inbox.ru>2018-02-27 01:01:08 +0300
commit54e38024265a67c27939b97a326d0c863ad91484 (patch)
tree2fddc93e7a4b5dd7df7ae979ca83a853b6e2697c
parent2b03ca19d5c741bea6c05735ec2342850c4dceef (diff)
downloadserverdata-54e38024265a67c27939b97a326d0c863ad91484.tar.gz
serverdata-54e38024265a67c27939b97a326d0c863ad91484.tar.bz2
serverdata-54e38024265a67c27939b97a326d0c863ad91484.tar.xz
serverdata-54e38024265a67c27939b97a326d0c863ad91484.zip
Fix error on server exit "hash table not exists".
-rw-r--r--npc/008-1/confused-tree.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/008-1/confused-tree.txt b/npc/008-1/confused-tree.txt
index 2d5a5363..202fb53c 100644
--- a/npc/008-1/confused-tree.txt
+++ b/npc/008-1/confused-tree.txt
@@ -303,7 +303,7 @@
}
function seen_me {
- if (playerattached() > 0)
+ if (playerattached() > 0 && htexists(.seen_ht))
{
htput(.seen_ht, strcharinfo(PC_NAME), gettimetick(2));
}