From 4cd1e7713ed473b799e5adfb1b4f5c3a4f4c4463 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 23 May 2019 23:18:24 -0300 Subject: Wow, so dumb. Hercules doesn't acknowledges mapzone Normal in script engine. But acknowledges it everywhere else. Dummy. --- npc/functions/siege.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'npc/functions') diff --git a/npc/functions/siege.txt b/npc/functions/siege.txt index 63035ddc0..3fa58cfb1 100644 --- a/npc/functions/siege.txt +++ b/npc/functions/siege.txt @@ -150,7 +150,7 @@ function script siege_selectmob { // Prepare a siege with optional announce // siege_setup ( map ) function script siege_setup { - .@m$=getarg(0, "012-1"); + .@m$=getarg(0); // Save old map zone $@MZONE$[getmapinfo(MAPINFO_ID, .@m$)]=getmapinfo(MAPINFO_ZONE, .@m$); @@ -188,7 +188,7 @@ function script siege_check { // Revert what siege_setup did // siege_revert ( map ) function script siege_revert { - .@m$=getarg(0, "012-1"); + .@m$=getarg(0); // Revert map zone (to town, or to blank) and delete backup removemapflag(.@m$,mf_zone); -- cgit v1.2.3-70-g09d2