Merge pull request #31809 from ShizCalev/helper-cleanup
Cleans up some istypes not using helpers
This commit is contained in:
@@ -509,7 +509,7 @@
|
||||
if(wall_pierce++ < wall_pierce_amount)
|
||||
loc = target
|
||||
if(prob(wall_devastate))
|
||||
if(istype(target, /turf/closed/wall))
|
||||
if(iswallturf(target))
|
||||
var/turf/closed/wall/W = target
|
||||
W.dismantle_wall(TRUE, TRUE)
|
||||
else
|
||||
|
||||
Reference in New Issue
Block a user