mirror of
https://github.com/Mestima/wanda.git
synced 2025-05-02 13:10:15 +00:00
removed useless check
This commit is contained in:
parent
436f4e8c39
commit
6aa8dc0295
@ -10,11 +10,9 @@ end
|
||||
|
||||
local function onclose(inst)
|
||||
local owner = inst and inst.components and inst.components.inventoryitem and inst.components.inventoryitem.owner or nil
|
||||
if owner ~= nil then
|
||||
local container = owner and owner.components and owner.components.inventory and owner.components.inventory:GetOverflowContainer() or nil
|
||||
if container ~= nil then
|
||||
container:Open(owner)
|
||||
end
|
||||
local container = owner and owner.components and owner.components.inventory and owner.components.inventory:GetOverflowContainer() or nil
|
||||
if container ~= nil then
|
||||
container:Open(owner)
|
||||
end
|
||||
end
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user