fix an electric floor visual bug (fixes #80)
This commit is contained in:
parent
94a7ec5a2c
commit
42d543b235
@ -1978,6 +1978,7 @@ const TILE_TYPES = {
|
|||||||
layer: LAYERS.terrain,
|
layer: LAYERS.terrain,
|
||||||
wire_propagation_mode: 'all',
|
wire_propagation_mode: 'all',
|
||||||
on_begin(me, level) {
|
on_begin(me, level) {
|
||||||
|
level._set_tile_prop(me, 'is_active', false);
|
||||||
level._set_tile_prop(me, 'wire_directions', 15);
|
level._set_tile_prop(me, 'wire_directions', 15);
|
||||||
level.recalculate_circuitry_next_wire_phase = true;
|
level.recalculate_circuitry_next_wire_phase = true;
|
||||||
},
|
},
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user