Skip to content

Commit

Permalink
Update sv_schema.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
kurozael authored Nov 27, 2019
1 parent 327e973 commit fbefa69
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion upload/gamemodes/hl2rp/schema/sv_schema.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit fbefa69

Please sign in to comment.