Skip to content

Commit

Permalink
Draw order option
Browse files Browse the repository at this point in the history
  • Loading branch information
conde2 committed Nov 15, 2023
1 parent d8b6e67 commit 3dfb62f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions modules/game_attachedeffects/lib.lua
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ local executeConfig = function(attachedEffect, config)
})
end

if config.drawOrder then
attachedEffect:setDrawOrder(config.drawOrder)
end

if config.duration ~= nil and config.duration > 0 then
attachedEffect:setDuration(config.duration)
end
Expand Down

0 comments on commit 3dfb62f

Please sign in to comment.