From fbefa69bef6581ceb1e0012647309cff97b935e6 Mon Sep 17 00:00:00 2001 From: Conna Wiles Date: Wed, 27 Nov 2019 12:19:29 +0000 Subject: [PATCH] Update sv_schema.lua --- upload/gamemodes/hl2rp/schema/sv_schema.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/upload/gamemodes/hl2rp/schema/sv_schema.lua b/upload/gamemodes/hl2rp/schema/sv_schema.lua index afc0860..517e79b 100644 --- a/upload/gamemodes/hl2rp/schema/sv_schema.lua +++ b/upload/gamemodes/hl2rp/schema/sv_schema.lua @@ -559,7 +559,7 @@ function Schema:PlayerGetLocation(player) local closest; if (cwAreaDisplays) then - for k, v in pairs(cwAreaDisplays.areaNames) do + for k, v in pairs(cwAreaDisplays.storedList) do if (Clockwork.entity:IsInBox(player, v.minimum, v.maximum)) then if (string.sub(string.lower(v.name), 1, 4) == "the ") then return string.sub(v.name, 5);