spaceify
This commit is contained in:
1 parent
2df4dc5829
commit
d675cddafb
2 files changed
+6
-6
No files matched your search
+5
-5
@@ -2637,7 +2637,7 @@ export class Level extends LevelInterface {
|
||||
return;
|
||||
}
|
||||
|
||||
//only used for glass block atm
|
||||
//only used for glass block atm
|
||||
if (actor.type.on_death) {
|
||||
actor.type.on_death(actor, this);
|
||||
}
|
||||
@@ -2806,10 +2806,10 @@ export class Level extends LevelInterface {
|
||||
return;
|
||||
}
|
||||
|
||||
//only used for electrified floor atm
|
||||
if (tile.type.on_death && !tile.type.is_actor) {
|
||||
tile.type.on_death(tile, this);
|
||||
}
|
||||
//only used for electrified floor atm
|
||||
if (tile.type.on_death && !tile.type.is_actor) {
|
||||
tile.type.on_death(tile, this);
|
||||
}
|
||||
|
||||
let old_type = tile.type;
|
||||
let new_type = TILE_TYPES[name];
|
||||
|
||||
+1
-1
@@ -1978,7 +1978,7 @@ const TILE_TYPES = {
|
||||
layer: LAYERS.terrain,
|
||||
wire_propagation_mode: 'all',
|
||||
on_begin(me, level) {
|
||||
level._set_tile_prop(me, 'is_active', false);
|
||||
level._set_tile_prop(me, 'is_active', false);
|
||||
level._set_tile_prop(me, 'wire_directions', 15);
|
||||
level.recalculate_circuitry_next_wire_phase = true;
|
||||
},
|
||||
|
||||
Reference in new issue
Block a user