diff options
-rw-r--r-- | npc/functions/spotlight.txt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/functions/spotlight.txt b/npc/functions/spotlight.txt index e0193d6d..11ca565a 100644 --- a/npc/functions/spotlight.txt +++ b/npc/functions/spotlight.txt @@ -22,7 +22,7 @@ function script updateSpotlight { // Is your map valid (or is the check skipped) if (!getarg(0,false)) { - if (strpos(getmap(), "-3-") < 0) + if (strpos(getmapname(), "-3-") < 0) return; } |