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:
Linden
2022-08-23 04:30:58 +10:00
parent f5c5597277
commit 4578d54c5e

View File

@@ -95,7 +95,6 @@ local function startProgress(data)
local prop = data['prop'..i]
if prop then
DetachEntity(prop)
DeleteEntity(prop)
end
end