mirror of
https://github.com/jimathy/jim_bridge.git
synced 2026-11-22 11:38:34 +00:00
Add cleanup of targets when switching players
This commit is contained in:
1 parent
d6c4619717
commit
76855d3246
3 files changed
+12
-4
No files matched your search
@@ -97,7 +97,7 @@ function destroyProp(entity)
|
||||
end
|
||||
end
|
||||
|
||||
onPlayerUnloaded(function()
|
||||
onPlayerUnload(function()
|
||||
for k in pairs(Props) do
|
||||
DeleteObject(Props[k])
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user