Revert previous commit; auto-eject is Lynx behavior
This commit is contained in:
parent
459120313e
commit
7817a8ebdd
@ -623,8 +623,9 @@ const TILE_TYPES = {
|
|||||||
draw_layer: LAYER_TERRAIN,
|
draw_layer: LAYER_TERRAIN,
|
||||||
on_arrive(me, level, other) {
|
on_arrive(me, level, other) {
|
||||||
if (me.open) {
|
if (me.open) {
|
||||||
// Traps immediately eject their contents, if possible
|
// Lynx: Traps immediately eject their contents, if possible
|
||||||
level.attempt_step(other, other.direction);
|
// TODO compat this, cc2 doens't do it!
|
||||||
|
//level.attempt_step(other, other.direction);
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
level.set_actor_stuck(other, true);
|
level.set_actor_stuck(other, true);
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user