Discarded entityactions and updated target

Discarded entityactions: was not used and bloat. Need a new system that handled networked entities static vs dynamic (non-moving non networked vs moving networked)

updated target to improve performance on canInteract. It seems that the target systems spam this function. Using a state and checking every second instead of allowing spamming

Added ClientEntity.ChangeModel
This commit is contained in:
Mr.Crowley committed 2025-08-20 22:23:07 -05:00
1 parent cbd340326d
commit b06d2fb49e
8 files changed
+73 -190

No files matched your search

+7
View File
@@ -40,6 +40,13 @@ Target.FixOptions = function(options)
end
v.groups = v.job or v.groups
local optionsCanInteract = v.canInteract
if optionsCanInteract then
local id = Target.CreateCanInteract(optionsCanInteract)
v.canInteract = function(...)
return Target.CanInteract(id, ...)
end
end
-- print(json.encode(v))
end
return options