From 7c9e6b13944d32e94c05d644835a239a829d7e69 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 17 Feb 2012 00:28:42 +0300 Subject: Avoid warp player back to peter position after player was dead and warped to respawn location. --- npc/000-2-1/peter.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/npc/000-2-1/peter.txt b/npc/000-2-1/peter.txt index 9eacd663..3baf6aea 100644 --- a/npc/000-2-1/peter.txt +++ b/npc/000-2-1/peter.txt @@ -200,7 +200,7 @@ L_Logoff: L_Dead: // Warps the dead body outside, so it does not interfere with the getmapusers check. - warp "000-2-1", 61, 36; + if (getmapusers("000-2-2.gat") > 0) warp "000-2-1", 61, 36; goto L_CleaningEnd; L_Done: -- cgit v1.2.3-60-g2f50