Skip to content

Commit 1d3eb78

Browse files
Move stuff to ACF.Contraption namespace
1 parent 3270845 commit 1d3eb78

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

lua/acf/core/utilities/entity_tracking_sv.lua

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,9 @@
1-
local ACF = ACF
2-
local Clock = ACF.Utilities.Clock
3-
local NextUpdate = 0
4-
local Entities = {}
5-
local Ancestors = {}
1+
local ACF = ACF
2+
local Clock = ACF.Utilities.Clock
3+
local Contraption = ACF.Contraption
4+
local NextUpdate = 0
5+
local Entities = {}
6+
local Ancestors = {}
67

78
local Whitelist = {
89
-- Garry's Mod entities
@@ -40,7 +41,7 @@ local Whitelist = {
4041
}
4142

4243
local function GetAncestor(Entity)
43-
local Ancestor = ACF_GetAncestor(Entity)
44+
local Ancestor = Contraption.GetAncestor(Entity)
4445

4546
if not IsValid(Ancestor) then return end
4647
if Ancestor == Entity then return end

0 commit comments

Comments
 (0)