mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-11-10 16:33:55 +00:00
fix(client/interface): progressbar props not deleted
Somehow, calling DetachEntity before DeleteEntity results in the entity not being deleted (when oal is enabled). Fortunately we don't need to detach it before deleting.
This commit is contained in:
1 parent
f5c5597277
commit
4578d54c5e
1 file changed
-1
@@ -95,7 +95,6 @@ local function startProgress(data)
|
||||
local prop = data['prop'..i]
|
||||
|
||||
if prop then
|
||||
DetachEntity(prop)
|
||||
DeleteEntity(prop)
|
||||
end
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user