Revert previous commit; auto-eject is Lynx behavior

This commit is contained in:
Eevee (Evelyn Woods) 2020-09-23 22:56:27 -06:00
parent 459120313e
commit 7817a8ebdd

View File

@ -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);