From af429a14cc657cf28e40a365ebc0175236447518 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Wed, 1 Sep 2021 01:49:33 +0200 Subject: [PATCH] [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 --- code/modules/mining/lavaland/megafauna_loot.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/mining/lavaland/megafauna_loot.dm b/code/modules/mining/lavaland/megafauna_loot.dm index 8788dbbd104..33b5f73df04 100644 --- a/code/modules/mining/lavaland/megafauna_loot.dm +++ b/code/modules/mining/lavaland/megafauna_loot.dm @@ -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)