From f1f181a184cf0db8d61f043555b27bbc8f523653 Mon Sep 17 00:00:00 2001 From: SkyratBot <59378654+SkyratBot@users.noreply.github.com> Date: Fri, 26 Feb 2021 15:20:33 +0100 Subject: [PATCH] [MIRROR] Disabler pellet clouds no longer cause burn wounds (#3676) * Disabler pellet clouds no longer cause burn wounds (#57180) * Disabler pellet clouds no longer cause burn wounds Co-authored-by: Ryll Ryll <3589655+Ryll-Ryll@users.noreply.github.com> --- code/datums/components/pellet_cloud.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/datums/components/pellet_cloud.dm b/code/datums/components/pellet_cloud.dm index 0b4cd788334..155a6d5c914 100644 --- a/code/datums/components/pellet_cloud.dm +++ b/code/datums/components/pellet_cloud.dm @@ -288,7 +288,7 @@ if(isbodypart(target)) hit_part = target target = hit_part.owner - if(wound_info_by_part[hit_part]) + if(wound_info_by_part[hit_part] && (initial(P.damage_type) == BRUTE || initial(P.damage_type) == BURN)) // so a cloud of disablers that deal stamina don't inadvertently end up causing burn wounds) var/damage_dealt = wound_info_by_part[hit_part][CLOUD_POSITION_DAMAGE] var/w_bonus = wound_info_by_part[hit_part][CLOUD_POSITION_W_BONUS] var/bw_bonus = wound_info_by_part[hit_part][CLOUD_POSITION_BW_BONUS]