Exits block CC1 blocks

This commit is contained in:
Eevee (Evelyn Woods) 2020-12-13 22:22:22 -07:00
parent c8ed4b9fba
commit 16f11f3a9b

View File

@ -2280,7 +2280,7 @@ const TILE_TYPES = {
},
exit: {
draw_layer: DRAW_LAYERS.terrain,
blocks_collision: COLLISION.monster_solid & ~COLLISION.rover,
blocks_collision: COLLISION.block_cc1 | COLLISION.monster_solid & ~COLLISION.rover,
on_arrive(me, level, other) {
if (other.type.is_player) {
level.win();