summaryrefslogtreecommitdiff
path: root/npc/commands/resync.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/commands/resync.txt')
-rw-r--r--npc/commands/resync.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/npc/commands/resync.txt b/npc/commands/resync.txt
index f96e1e05f..8e7b5e02e 100644
--- a/npc/commands/resync.txt
+++ b/npc/commands/resync.txt
@@ -11,6 +11,10 @@
end;
OnCall:
+ if (ispcdead()) {
+ dispbottom l("Impossible to resync: You are dead.");
+ end;
+ }
if (@rsync_delay > gettimetick(2) && readparam(Hp) < readparam(MaxHp))
dispbottom l("Not resync'ing to prevent flood.");
getmapxy(.@m$, .@x, .@y, 0);