diff --git a/upload/garrysmod/gamemodes/clockwork/plugins/areadisplays/plugin/cl_hooks.lua b/upload/garrysmod/gamemodes/clockwork/plugins/areadisplays/plugin/cl_hooks.lua index f9da8c61..85ce37f7 100644 --- a/upload/garrysmod/gamemodes/clockwork/plugins/areadisplays/plugin/cl_hooks.lua +++ b/upload/garrysmod/gamemodes/clockwork/plugins/areadisplays/plugin/cl_hooks.lua @@ -64,7 +64,7 @@ function cwAreaDisplays:Tick() for k, v in pairs(self.storedList) do if (Clockwork.entity:IsInBox(Clockwork.Client, v.minimum, v.maximum)) then - if (self.currentAreaDisplay != v.name) then + if (lastAreaDisplay != v.name) then local bCalledHooks = self:HandleAreaTable(v, k); if (!bCalledHooks) then @@ -83,4 +83,4 @@ function cwAreaDisplays:Tick() if (bDidLeave) then Clockwork.plugin:Call("PlayerExitedArea", bDidLeave); end; -end; \ No newline at end of file +end;