summaryrefslogtreecommitdiff
path: root/world/map/npc/functions/global_event_handler.txt
diff options
context:
space:
mode:
authorHoraK-FDF <horak-fdf@web.de>2024-06-24 16:14:20 +0200
committerHoraK-FDF <horak-fdf@web.de>2024-07-09 20:24:36 +0200
commita5a76a68000fa0cce711c9a1502f0ac57aecc58b (patch)
tree5727d56448e5af85bb146b9362441c1776cf572c /world/map/npc/functions/global_event_handler.txt
parent9bf6516e56f3c54cc10ccc6d7f051a81329e62dd (diff)
downloadserverdata-a5a76a68000fa0cce711c9a1502f0ac57aecc58b.tar.gz
serverdata-a5a76a68000fa0cce711c9a1502f0ac57aecc58b.tar.bz2
serverdata-a5a76a68000fa0cce711c9a1502f0ac57aecc58b.tar.xz
serverdata-a5a76a68000fa0cce711c9a1502f0ac57aecc58b.zip
attachrid only supports acc id (getcharid(3))
Diffstat (limited to 'world/map/npc/functions/global_event_handler.txt')
-rw-r--r--world/map/npc/functions/global_event_handler.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/world/map/npc/functions/global_event_handler.txt b/world/map/npc/functions/global_event_handler.txt
index ef93435c..5274fa05 100644
--- a/world/map/npc/functions/global_event_handler.txt
+++ b/world/map/npc/functions/global_event_handler.txt
@@ -45,7 +45,7 @@ OnPCDieEvent:
end;
OnPCLogoutEvent:
- if (getnpcid("#Upmarmu#" + getcharid(0)) >= 1) addnpctimer 0, "#Upmarmu#" + getcharid(0) + "::OnDestroy"; // @upmarmu_spell_npc_name$ is already lost at this point so it must be done like this
+ if (getnpcid("#Upmarmu#" + getcharid(3)) >= 1) addnpctimer 0, "#Upmarmu#" + getcharid(3) + "::OnDestroy"; // @upmarmu_spell_npc_name$ is already lost at this point so it must be done like this
callfunc "VaultLogout";
end;