From 1ba8caf3b72da0501b3d3eb72294a3f25bdd31ed Mon Sep 17 00:00:00 2001 From: Wolf Date: Wed, 28 Aug 2013 16:38:25 -0300 Subject: Update warper.txt Bug Fix - http://hercules.ws/board/tracker/issue-7671-warper-npc-bug-for-pre-re/?gopid=20248#entry20248 * For a end, the script will terminate, but returns nothing, because there's nothing else to be returned, as with a close, the script closes and ends the above function. --- npc/custom/warper.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'npc/custom') diff --git a/npc/custom/warper.txt b/npc/custom/warper.txt index e8f640d2d..68a9cb1af 100644 --- a/npc/custom/warper.txt +++ b/npc/custom/warper.txt @@ -88,7 +88,7 @@ function Pick { } if (.@warp_block & (1<<.@select)) { message strcharinfo(0),"This map is not enabled in "+((checkre(0))?"":"Pre-")+"Renewal."; - end; + close; } warp .@map$,@c[.@i*2],@c[.@i*2+1]; getmapxy(lastwarp$,lastwarpx,lastwarpy,0); @@ -103,7 +103,7 @@ function Restrict { set @warp_block, @warp_block | (1<