We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3270845 commit 1d3eb78Copy full SHA for 1d3eb78
lua/acf/core/utilities/entity_tracking_sv.lua
@@ -1,8 +1,9 @@
1
-local ACF = ACF
2
-local Clock = ACF.Utilities.Clock
3
-local NextUpdate = 0
4
-local Entities = {}
5
-local Ancestors = {}
+local ACF = ACF
+local Clock = ACF.Utilities.Clock
+local Contraption = ACF.Contraption
+local NextUpdate = 0
+local Entities = {}
6
+local Ancestors = {}
7
8
local Whitelist = {
9
-- Garry's Mod entities
@@ -40,7 +41,7 @@ local Whitelist = {
40
41
}
42
43
local function GetAncestor(Entity)
- local Ancestor = ACF_GetAncestor(Entity)
44
+ local Ancestor = Contraption.GetAncestor(Entity)
45
46
if not IsValid(Ancestor) then return end
47
if Ancestor == Entity then return end
0 commit comments