Skip to content

Commit

Permalink
One More Thing
Browse files Browse the repository at this point in the history
  • Loading branch information
LengthenedGradient committed Aug 30, 2024
1 parent e6c6a4b commit 730c197
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lua/entities/acf_base_scalable/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ do -- Entity linking and unlinking --------------
local Class = Target:GetClass()
local LinkData, Reversed = ACF.GetClassLink(self:GetClass(), Class)

if LinkData == nil then return false, "Links between these two entities are impossible" end
if not LinkData then return false, "Links between these two entities are impossible" end

local Function = LinkData.Link
local Check = LinkData.Check
Expand Down
2 changes: 1 addition & 1 deletion lua/entities/acf_base_simple/init.lua
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ do -- Entity linking and unlinking --------------
local Class = Target:GetClass()
local LinkData, Reversed = ACF.GetClassLink(self:GetClass(), Class)

if LinkData == nil then return false, "Links between these two entities are impossible" end
if not LnkData then return false, "Links between these two entities are impossible" end

local Function = LinkData.Link
local Check = LinkData.Check
Expand Down

0 comments on commit 730c197

Please sign in to comment.