prep for behaviors
readded behaviors
This commit is contained in:
1 parent
26bd9e1cad
commit
f2ff03734e
1 file changed
+3
@@ -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)
|
||||||
|
|||||||
Reference in new issue
Block a user