prep for behaviors

readded behaviors
This commit is contained in:
Mr.Crowley committed 2025-08-30 19:12:56 -05:00
1 parent 26bd9e1cad
commit f2ff03734e
1 file changed
+3
+3
View File
@@ -93,6 +93,9 @@ function ServerEntity.Set(id, data)
return true return true
end end
function ServerEntity.RegisterBehavior(id, behavior)
Behaviors.Create(id, behavior)
end
-- Clean up entities associated with a stopped resource -- Clean up entities associated with a stopped resource
AddEventHandler('onResourceStop', function(resourceName) AddEventHandler('onResourceStop', function(resourceName)