summaryrefslogtreecommitdiff
path: root/npc/functions/clientversion.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-07-02 19:42:10 -0300
committerJesusaves <cpntb1@ymail.com>2018-07-02 19:42:10 -0300
commit5aa1f7177bc5e6345cd2e15f94f7ff9835e2f138 (patch)
treeed36ffb2f5695854ec3396a30be0ee9ac91de681 /npc/functions/clientversion.txt
parentd654b24da0fef3535426575a649bd4f9623827b7 (diff)
downloadserverdata-5aa1f7177bc5e6345cd2e15f94f7ff9835e2f138.tar.gz
serverdata-5aa1f7177bc5e6345cd2e15f94f7ff9835e2f138.tar.bz2
serverdata-5aa1f7177bc5e6345cd2e15f94f7ff9835e2f138.tar.xz
serverdata-5aa1f7177bc5e6345cd2e15f94f7ff9835e2f138.zip
Add an extra function so ref_prog works with disconnected players
Diffstat (limited to 'npc/functions/clientversion.txt')
-rw-r--r--npc/functions/clientversion.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/functions/clientversion.txt b/npc/functions/clientversion.txt
index 22c0c476a..cf2b424db 100644
--- a/npc/functions/clientversion.txt
+++ b/npc/functions/clientversion.txt
@@ -27,7 +27,7 @@ function script checkclientversion {
debugmes "Hercules is bugged: "+.@ref$;
mes "";
if (.@ref$ != "") {
- .@ref=getcharid(3, strip(.@ref$));
+ .@ref=gf_accid(strip(.@ref$));
if (.@ref > 0) {
if (.@ref == getcharid(3)) {
mesn l("TMW2 Staff");