summaryrefslogtreecommitdiff
path: root/world
diff options
context:
space:
mode:
authorHoraK-FDF <horak-fdf@web.de>2024-05-06 22:39:31 +0200
committerLed Mitz <smoothshifter@tuta.io>2024-05-16 17:03:04 +0000
commit2a514b7843fe0aa9f37d979c1ac27c1f33b229c8 (patch)
tree71f30cccf19093c8b37f5103d941342b63ee95cb /world
parentd23d9cca49e0c02db47431524f9a4f8be8723ce6 (diff)
downloadserverdata-2a514b7843fe0aa9f37d979c1ac27c1f33b229c8.tar.gz
serverdata-2a514b7843fe0aa9f37d979c1ac27c1f33b229c8.tar.bz2
serverdata-2a514b7843fe0aa9f37d979c1ac27c1f33b229c8.tar.xz
serverdata-2a514b7843fe0aa9f37d979c1ac27c1f33b229c8.zip
miner mania better add freeloop to init too if it grows bigger
Diffstat (limited to 'world')
-rw-r--r--world/map/npc/mobs/miner_mania.txt5
1 files changed, 5 insertions, 0 deletions
diff --git a/world/map/npc/mobs/miner_mania.txt b/world/map/npc/mobs/miner_mania.txt
index db36668a..a7a8fa7b 100644
--- a/world/map/npc/mobs/miner_mania.txt
+++ b/world/map/npc/mobs/miner_mania.txt
@@ -49,6 +49,8 @@ For example if you have multiple sqares on a map and to not spawn <num of square
set .map_count, getarraysize($@bif_mine_maps$[0]);
set .map_nr, 0;
+ freeloop 1; // do not check for infinity loop
+
goto L_BifMapInitLoop;
L_BifMapInitLoop:
@@ -130,6 +132,8 @@ L_SlimeMapInitLoop_y1Set:
set .map_nr, .map_nr + 1;
if (.map_nr < .map_count) goto L_SlimeMapInitLoop;
+ freeloop 0; // re-enable infinity loop check
+
initnpctimer;
end;
@@ -140,6 +144,7 @@ OnTimer1000:
set .map_count, getarraysize($@bif_mine_maps$[0]);
set .map_nr, 0;
+
freeloop 1; // do not check for infinity loop
goto L_BifMapLoop;