Commit 8b25d183a0a8718bbee81d7ef501072e0b80909a
1 parent
68964730
切换层不更新回合
Showing
1 changed file
with
4 additions
and
1 deletions
Show diff stats
src/adv/Adv.lua
| ... | ... | @@ -1301,7 +1301,10 @@ function Adv:clickBlock(roomId, blockId, params) |
| 1301 | 1301 | end |
| 1302 | 1302 | local needChange = true |
| 1303 | 1303 | if clickEvent and block.event then |
| 1304 | - if block:getEventType() == AdvEventType.Out or block:getEventType() == AdvEventType.InOut or block:getEventType() == AdvEventType.Exit then | |
| 1304 | + if block:getEventType() == AdvEventType.Out | |
| 1305 | + or block:getEventType() == AdvEventType.InOut | |
| 1306 | + or block:getEventType() == AdvEventType.Layer | |
| 1307 | + or block:getEventType() == AdvEventType.Exit then | |
| 1305 | 1308 | needChange = false |
| 1306 | 1309 | end |
| 1307 | 1310 | end | ... | ... |