[MIRROR] Fix staff of lava not terraforming lava (#7895)

* Fix staff of lava not terraforming lava (#61096)

Lava staffs were not terraforming regular lava into empty tiles. This is because it was only checking to see if the lava type was the same weak lava the staff spawns. It has now been fixed to check for all lava types.

* Fix staff of lava not terraforming lava

Co-authored-by: Tim <timothymtorres@gmail.com>
This commit is contained in:
SkyratBot
2021-09-01 00:49:33 +01:00
committed by GitHub
co-authored by Tim
parent bf664a7ef0
commit af429a14cc
@@ -763,7 +763,7 @@
var/turf/open/T = get_turf(target)
if(!istype(T))
return
if(!istype(T, turf_type))
if(!istype(T, /turf/open/lava))
var/obj/effect/temp_visual/lavastaff/L = new /obj/effect/temp_visual/lavastaff(T)
L.alpha = 0
animate(L, alpha = 255, time = create_delay)