mirror of
https://github.com/jimathy/jim_bridge.git
synced 2026-08-18 06:26:01 +01:00
Add cleanup of targets when switching players
This commit is contained in:
@@ -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