Exits block CC1 blocks
This commit is contained in:
parent
c8ed4b9fba
commit
16f11f3a9b
@ -2280,7 +2280,7 @@ const TILE_TYPES = {
|
|||||||
},
|
},
|
||||||
exit: {
|
exit: {
|
||||||
draw_layer: DRAW_LAYERS.terrain,
|
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) {
|
on_arrive(me, level, other) {
|
||||||
if (other.type.is_player) {
|
if (other.type.is_player) {
|
||||||
level.win();
|
level.win();
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user