Skip to content

Commit

Permalink
Update lua/entities/gmod_wire_expression2/core/hologram.lua
Browse files Browse the repository at this point in the history
Remove local

Co-authored-by: thegrb93 <grbrown93@sbcglobal.net>
  • Loading branch information
Zvbhrf and thegrb93 authored Sep 9, 2024
1 parent 03ca614 commit bd5d35c
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion lua/entities/gmod_wire_expression2/core/hologram.lua
Original file line number Diff line number Diff line change
Expand Up @@ -521,7 +521,6 @@ end

-- Returns the hologram with the given index or nil if it doesn't exist.
-- if shouldbenil is nil or false, assert that the hologram exists on @strict with an error. Otherwise, don't check (for holo creation, etc)
local MAX_INDEX = 2 ^ 31
local function CheckIndex(self, index, shouldbenil)
if index ~= index then return self:throw("holo index is NaN!", nil) end
index = math.Clamp(math.floor(index), -2^31, 2^31)
Expand Down

0 comments on commit bd5d35c

Please sign in to comment.