diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-05-29 09:44:39 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-05-29 09:44:39 -0300 |
commit | 28fda30f68182b841413f69f7e63a25a09d1d009 (patch) | |
tree | 667340defcc31ef86d9d8b83c404b8e7577262a3 /npc | |
parent | 6409a5d6be5cc70ee4d5ad170b1a8a8dfd775508 (diff) | |
download | serverdata-28fda30f68182b841413f69f7e63a25a09d1d009.tar.gz serverdata-28fda30f68182b841413f69f7e63a25a09d1d009.tar.bz2 serverdata-28fda30f68182b841413f69f7e63a25a09d1d009.tar.xz serverdata-28fda30f68182b841413f69f7e63a25a09d1d009.zip |
[Warning]: script:getelementofarray: index out of range (-1)
Told ya.
Diffstat (limited to 'npc')
-rw-r--r-- | npc/functions/siege.txt | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/functions/siege.txt b/npc/functions/siege.txt index 307274712..f6aac1e16 100644 --- a/npc/functions/siege.txt +++ b/npc/functions/siege.txt @@ -153,7 +153,7 @@ function script siege_setup { .@m$=getarg(0); // Save old map zone - $@MZONE$[getmapinfo(MAPINFO_ID, .@m$)]=getmapinfo(MAPINFO_ZONE, .@m$); + //$@MZONE$[getmapinfo(MAPINFO_ID, .@m$)]=getmapinfo(MAPINFO_ZONE, .@m$); // Apply changes addmapmask .@m$, MASK_MATTACK; @@ -200,7 +200,7 @@ function script siege_revert { //setmapflag(.@m$,mf_zone,$@MZONE$[getmapinfo(MAPINFO_ID, .@m$)]); setmapflag(.@m$,mf_zone,"Normal"); // Broken for some reason setmapflag(.@m$,mf_zone,"All"); - $@MZONE$[getmapinfo(MAPINFO_ID, .@m$)]=""; + //$@MZONE$[getmapinfo(MAPINFO_ID, .@m$)]=""; removemapmask .@m$, MASK_MATTACK; changemusic .@m$, "caketown.ogg"; // :> |