summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-05-29 09:44:39 -0300
committerJesusaves <cpntb1@ymail.com>2019-05-29 09:44:39 -0300
commit28fda30f68182b841413f69f7e63a25a09d1d009 (patch)
tree667340defcc31ef86d9d8b83c404b8e7577262a3 /npc
parent6409a5d6be5cc70ee4d5ad170b1a8a8dfd775508 (diff)
downloadserverdata-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.txt4
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"; // :>