summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/hub.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt
index e3ee6d26c..2c178da98 100644
--- a/npc/functions/hub.txt
+++ b/npc/functions/hub.txt
@@ -57,6 +57,10 @@ function script HUB_Logout {
@deathpenalty_realvalue=readparam(BaseExp);
@deathpenalty_realvaljob=readparam(JobExp);
}
+ // Died or logged out on Blue Sage House
+ if (.@mapa$ == "020-7-1") {
+ callfunc("BSClearNest", @nestid);
+ }
// First death produces a warning message
if (PC_DIE_COUNTER <= 1 && .@dead) {
dispbottom l("Dying outside a town square will cause EXP loss.");