diff --git a/modules/game_attachedeffects/lib.lua b/modules/game_attachedeffects/lib.lua index 93902d09f2..049fd97730 100644 --- a/modules/game_attachedeffects/lib.lua +++ b/modules/game_attachedeffects/lib.lua @@ -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