diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-07-13 23:33:30 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-07-13 23:33:30 -0300 |
commit | e4dd8127069b3540d74135a057217e7920bbdc24 (patch) | |
tree | 3f65e76474b447dfc52bb9747a161263d7c596d0 /npc | |
parent | 87e0cd4e5e828d01387f1a86a26a7383c4d5552d (diff) | |
download | serverdata-e4dd8127069b3540d74135a057217e7920bbdc24.tar.gz serverdata-e4dd8127069b3540d74135a057217e7920bbdc24.tar.bz2 serverdata-e4dd8127069b3540d74135a057217e7920bbdc24.tar.xz serverdata-e4dd8127069b3540d74135a057217e7920bbdc24.zip |
Safeguard
Diffstat (limited to 'npc')
-rw-r--r-- | npc/commands/resync.txt | 4 |
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); |