From 6d580af8179fa1b2b51a3264f1ffc680c5cb23af Mon Sep 17 00:00:00 2001 From: "Eevee (Evelyn Woods)" Date: Wed, 22 Dec 2021 21:25:01 -0700 Subject: [PATCH] Use the inactive tile for electrified floors by default (fixes #67) --- js/tiletypes.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/js/tiletypes.js b/js/tiletypes.js index 7ec8dd9..8b28f5d 100644 --- a/js/tiletypes.js +++ b/js/tiletypes.js @@ -2003,7 +2003,7 @@ const TILE_TYPES = { level.recalculate_circuitry_next_wire_phase = true; }, visual_state(me) { - return me && me.is_active === false ? 'inactive' : 'active'; + return me && me.is_active ? 'active' : 'inactive'; }, },