summaryrefslogtreecommitdiff
path: root/npc/functions/main.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/functions/main.txt')
-rw-r--r--npc/functions/main.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/npc/functions/main.txt b/npc/functions/main.txt
index b54401e02..2bfb6e29a 100644
--- a/npc/functions/main.txt
+++ b/npc/functions/main.txt
@@ -282,6 +282,7 @@ function script msObjective {
function script getmap {
if (getmapxy(.@mapName$, .@xpos, .@ypos, getarg(0,0)) != 0)
return false;
+ // TODO: Maybe use getmapname() instead of getmapxy?
return .@mapName$;
}