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.
This commit is contained in:
Tim
2021-08-31 17:43:17 -05:00
committed by GitHub
parent 213e84f091
commit f695be9ce7

View File

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