summaryrefslogtreecommitdiff
path: root/npc/functions/hub.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions/hub.txt')
-rw-r--r--npc/functions/hub.txt13
1 files changed, 9 insertions, 4 deletions
diff --git a/npc/functions/hub.txt b/npc/functions/hub.txt
index 8328b8b77..cd2e40656 100644
--- a/npc/functions/hub.txt
+++ b/npc/functions/hub.txt
@@ -32,10 +32,15 @@ function script HUB_Logout {
// Hardcore Server
if ($HARDCORE && .@dead) {
- // TODO: Misc penalties (drop all items, etc)
- atcommand("@dropall");
- // TODO: It could be @jail, but it is buggy
- atcommand("@jailfor 1d "+strcharinfo(0));
+ if (@grace) {
+ @grace=false;
+ // pass
+ } else {
+ // TODO: Misc penalties (drop all items, etc)
+ atcommand("@dropall");
+ // TODO: It could be @jail, but it is buggy
+ atcommand("@jailfor 1d "+strcharinfo(0));
+ }
// Vanished on Cindy Cave
} else if (.@mapa$ == "021-4" && strcharinfo(0) == $@CINDY_HERO$) {
donpcevent("Cindy#Outside::OnReckless");