summaryrefslogtreecommitdiff
path: root/world/map/npc/functions/mob_points.txt
diff options
context:
space:
mode:
Diffstat (limited to 'world/map/npc/functions/mob_points.txt')
-rw-r--r--world/map/npc/functions/mob_points.txt6
1 files changed, 5 insertions, 1 deletions
diff --git a/world/map/npc/functions/mob_points.txt b/world/map/npc/functions/mob_points.txt
index 0bdcec06..5f711afb 100644
--- a/world/map/npc/functions/mob_points.txt
+++ b/world/map/npc/functions/mob_points.txt
@@ -2,7 +2,7 @@
function|script|MobPoints|,
{
- if (@mobID < 1002) return;
+ if (@mobID < 1002) goto L_Return;
setarray @points,
1, // Maggot
@@ -159,4 +159,8 @@ L_good:
L_end:
set @value, 0;
+ end;
+
+L_Return:
+ return;
}