Exits block CC1 blocks
This commit is contained in:
1 parent
c8ed4b9fba
commit
16f11f3a9b
1 file changed
+1
-1
+1
-1
@@ -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();
|
||||
|
||||
Reference in new issue
Block a user