diff --git a/src/adv/Adv.lua b/src/adv/Adv.lua index e672cfb..5c1419b 100644 --- a/src/adv/Adv.lua +++ b/src/adv/Adv.lua @@ -1301,7 +1301,10 @@ function Adv:clickBlock(roomId, blockId, params) end local needChange = true if clickEvent and block.event then - if block:getEventType() == AdvEventType.Out or block:getEventType() == AdvEventType.InOut or block:getEventType() == AdvEventType.Exit then + if block:getEventType() == AdvEventType.Out + or block:getEventType() == AdvEventType.InOut + or block:getEventType() == AdvEventType.Layer + or block:getEventType() == AdvEventType.Exit then needChange = false end end -- libgit2 0.21.2