fixes mech RCDing indestructible walls (#16348)

* no just no

* this is probably good
This commit is contained in:
hal9000PR
2021-07-11 23:08:25 +01:00
committed by GitHub
parent 102e42a381
commit aca230bb7b
@@ -228,7 +228,7 @@
switch(mode)
if(0)
if(istype(target, /turf/simulated/wall))
if(istype(target, /turf/simulated/wall/r_wall) && !canRwall)
if((istype(target, /turf/simulated/wall/r_wall) && !canRwall) || istype(target, /turf/simulated/wall/indestructible))
return 0
var/turf/simulated/wall/W = target
occupant_message("Deconstructing [target]...")