summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-01-09 15:45:11 -0300
committerJesusaves <cpntb1@ymail.com>2020-01-09 15:45:11 -0300
commitf10cbde7fa0ef650938b4bdecbaf18387dd4a62b (patch)
tree2515866dc3be2771a59301edc5dd43237f3dd6e5
parent6931d5155953519197400b36fc848f05639bd5b6 (diff)
downloadserverdata-jesusalva/hub.tar.gz
serverdata-jesusalva/hub.tar.bz2
serverdata-jesusalva/hub.tar.xz
serverdata-jesusalva/hub.zip
Fix a typojesusalva/hub
-rw-r--r--npc/functions/spotlight.txt2
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;
}