From ee293310b6d4f6b312035cff01bb168e20e5e467 Mon Sep 17 00:00:00 2001 From: Jacob Mandelson Date: Mon, 11 Mar 2024 12:03:48 -0700 Subject: [PATCH] Consider red rock & rubble to electrically insulate. --- complex.cpp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/complex.cpp b/complex.cpp index f66af4f1..aa8c236b 100644 --- a/complex.cpp +++ b/complex.cpp @@ -221,6 +221,8 @@ EX namespace elec { return isElectricLand(c) ? ecConductor : ecGrounded; if(c->wall == waBigTree || c->wall == waSmallTree) return ecGrounded; + if(among(c->wall, waRed1, waRed2, waRed3, waRubble, waDeadfloor2)) + return ecIsolator; if(c->wall == waBarrier) return ecIsolator; if(c->wall == waChasm)