diff --git a/code/modules/research/destructive_analyzer.dm b/code/modules/research/destructive_analyzer.dm index 005c0f07d1f..a69a57015e1 100644 --- a/code/modules/research/destructive_analyzer.dm +++ b/code/modules/research/destructive_analyzer.dm @@ -25,7 +25,8 @@ Note: Must be placed within 3 tiles of the R&D Console var/T = 0 for(var/obj/item/weapon/stock_parts/S in component_parts) T += S.rating - decon_mod = T * 0.1 + T *= 0.1 + decon_mod = clamp(T, 0, 1) /obj/machinery/r_n_d/destructive_analyzer/update_icon() if(panel_open)