diff --git a/code/__DEFINES/wounds.dm b/code/__DEFINES/wounds.dm index 14067fbcd6a..68318fec1c8 100644 --- a/code/__DEFINES/wounds.dm +++ b/code/__DEFINES/wounds.dm @@ -226,6 +226,9 @@ GLOBAL_LIST_INIT(wounding_types_to_series, list( WOUND_SERIES_MUSCLE_DAMAGE, // SKYRAT EDIT ADDITION - MUSCLE WOUNDS WOUND_SERIES_WIRE_PIERCE_ELECTRICAL_DAMAGE, // SKYRAT EDIT ADDITION - SYNTH WOUNDS ), + WOUND_PIERCE = list( + WOUND_SERIES_FLESH_PUNCTURE_BLEED, + ), )) /// Used in get_corresponding_wound_type(): Will pick the highest severity wound out of severity_min and severity_max @@ -275,7 +278,7 @@ GLOBAL_LIST_INIT(wounding_types_to_series, list( var/picked_severity for (var/severity_text as anything in shuffle(GLOB.wound_severities_chronological)) var/severity = text2num(severity_text) - if (severity > severity_min || severity < severity_max) + if (!ISINRANGE(severity, severity_min, severity_max)) continue if (isnull(picked_severity) || ((severity_pick_mode == WOUND_PICK_HIGHEST_SEVERITY && severity > picked_severity) || (severity_pick_mode == WOUND_PICK_LOWEST_SEVERITY && severity < picked_severity)))