summaryrefslogtreecommitdiff
path: root/world/map/npc
diff options
context:
space:
mode:
authorgumi <git@gumi.ca>2018-07-17 14:50:51 -0400
committergumi <git@gumi.ca>2018-07-17 14:57:42 -0400
commit26355ca9731da1e0dba1b0a631dd00294b9bd6bc (patch)
treebb5d185dce13232a8ef84ef276e54bd0371d4bdd /world/map/npc
parentb8cfd6d94d48fb5e20e2ace923d4bb07328d3f48 (diff)
downloadserverdata-26355ca9731da1e0dba1b0a631dd00294b9bd6bc.tar.gz
serverdata-26355ca9731da1e0dba1b0a631dd00294b9bd6bc.tar.bz2
serverdata-26355ca9731da1e0dba1b0a631dd00294b9bd6bc.tar.xz
serverdata-26355ca9731da1e0dba1b0a631dd00294b9bd6bc.zip
update news
Diffstat (limited to 'world/map/npc')
-rw-r--r--world/map/npc/functions/ghost.txt5
1 files changed, 4 insertions, 1 deletions
diff --git a/world/map/npc/functions/ghost.txt b/world/map/npc/functions/ghost.txt
index 09a10680..921b8b79 100644
--- a/world/map/npc/functions/ghost.txt
+++ b/world/map/npc/functions/ghost.txt
@@ -1,7 +1,7 @@
function|script|SpawnGhost
{
if ($GHOSTS_DISABLED)
- return;
+ goto L_Return;
if (BaseLevel >= 40 &&
(getmap() == "026-1" ||
@@ -30,4 +30,7 @@ L_Spawn:
specialeffect2 39;
monster getmap(), .@x, .@y, strcharinfo(0), 1136, 1, "~GH~" + getcharid(0);
return;
+
+L_Return:
+ return;
}