summaryrefslogtreecommitdiff
path: root/world/map/npc/functions/global_event_handler.txt
diff options
context:
space:
mode:
authorLed Mitz <smoothshifter@tuta.io>2024-02-15 00:20:32 +0000
committerLed Mitz <smoothshifter@tuta.io>2024-02-15 00:20:32 +0000
commitc123cb9f25c3fe1266f37f9639046547a92f9be1 (patch)
tree8485f5c9d46ebb4b4540175d0b7a0e6337a3a227 /world/map/npc/functions/global_event_handler.txt
parent1e1b4b1472b5bf6420f8297dc61e78aeccfddfb2 (diff)
parentc3b7fe59af3b7b160b6ce1004f205abb6748025c (diff)
downloadserverdata-c123cb9f25c3fe1266f37f9639046547a92f9be1.tar.gz
serverdata-c123cb9f25c3fe1266f37f9639046547a92f9be1.tar.bz2
serverdata-c123cb9f25c3fe1266f37f9639046547a92f9be1.tar.xz
serverdata-c123cb9f25c3fe1266f37f9639046547a92f9be1.zip
Merge branch 'upmarmu_v4' into 'master'
upmarmu v4 See merge request legacy/serverdata!726
Diffstat (limited to 'world/map/npc/functions/global_event_handler.txt')
-rw-r--r--world/map/npc/functions/global_event_handler.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/world/map/npc/functions/global_event_handler.txt b/world/map/npc/functions/global_event_handler.txt
index eba97ab2..d71a08a6 100644
--- a/world/map/npc/functions/global_event_handler.txt
+++ b/world/map/npc/functions/global_event_handler.txt
@@ -44,6 +44,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
callfunc "VaultLogout";
end;