mirror of
https://github.com/CommunityOx/ox_lib.git
synced 2026-08-17 06:56:03 +01: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:
@@ -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