diff options
author | Wolf <vitinho.senos@live.com> | 2013-08-28 16:38:25 -0300 |
---|---|---|
committer | Wolf <vitinho.senos@live.com> | 2013-08-28 16:38:25 -0300 |
commit | 1ba8caf3b72da0501b3d3eb72294a3f25bdd31ed (patch) | |
tree | c7bd7a3215e130f9f2966252c39b76ffc53fb273 /npc | |
parent | 1afeabfe1893f5dc6206658aad48544b2002e555 (diff) | |
download | hercules-1ba8caf3b72da0501b3d3eb72294a3f25bdd31ed.tar.gz hercules-1ba8caf3b72da0501b3d3eb72294a3f25bdd31ed.tar.bz2 hercules-1ba8caf3b72da0501b3d3eb72294a3f25bdd31ed.tar.xz hercules-1ba8caf3b72da0501b3d3eb72294a3f25bdd31ed.zip |
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.
Diffstat (limited to 'npc')
-rw-r--r-- | npc/custom/warper.txt | 4 |
1 files changed, 2 insertions, 2 deletions
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<<getarg(.@i)); } else { message strcharinfo(0),"This map is not enabled in "+((checkre(0))?"":"Pre-")+"Renewal."; - end; + close; } } return; |