From f10cbde7fa0ef650938b4bdecbaf18387dd4a62b Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 9 Jan 2020 15:45:11 -0300 Subject: Fix a typo --- npc/functions/spotlight.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- cgit v1.2.3-70-g09d2