Prevents blob from growing over asteroid walls

This commit is contained in:
Hubblenaut
2015-12-16 12:57:05 +01:00
parent 760097b3b7
commit 8be57cd730

View File

@@ -54,7 +54,7 @@
update_icon()
/obj/effect/blob/proc/expand(var/turf/T)
if(istype(T, /turf/unsimulated/) || istype(T, /turf/space))
if(istype(T, /turf/unsimulated/) || istype(T, /turf/space) || (istype(T, /turf/simulated/mineral) && T.density))
return
if(istype(T, /turf/simulated/wall))
var/turf/simulated/wall/SW = T