summaryrefslogtreecommitdiff
path: root/world/map/npc/functions
diff options
context:
space:
mode:
authorHoraK-FDF <horak-fdf@web.de>2024-06-22 17:16:43 +0200
committerHoraK-FDF <horak-fdf@web.de>2024-07-09 20:24:36 +0200
commit9bf6516e56f3c54cc10ccc6d7f051a81329e62dd (patch)
tree6d1d2a8a6e74462e25256bf7c5f94c7be39552b2 /world/map/npc/functions
parenta213cfb2cea5b26f1dbb9577bed57eedd380a10b (diff)
downloadserverdata-9bf6516e56f3c54cc10ccc6d7f051a81329e62dd.tar.gz
serverdata-9bf6516e56f3c54cc10ccc6d7f051a81329e62dd.tar.bz2
serverdata-9bf6516e56f3c54cc10ccc6d7f051a81329e62dd.tar.xz
serverdata-9bf6516e56f3c54cc10ccc6d7f051a81329e62dd.zip
upmarmu v6 full
Diffstat (limited to 'world/map/npc/functions')
-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 d169f3c7..ef93435c 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(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
+ 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
callfunc "VaultLogout";
end;