Consider red rock & rubble to electrically insulate.

This commit is contained in:
Jacob Mandelson 2024-03-11 12:03:48 -07:00
parent a40e72f1d8
commit ee293310b6
1 changed files with 2 additions and 0 deletions

View File

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