Skip to content

Commit

Permalink
removes automatic material scaling on /obj/item/material (#5975)
Browse files Browse the repository at this point in the history
i don't know who thought this was a good idea but this makes no sense
and is shitty, and interferes with a lot of autodetection.
  • Loading branch information
silicons authored Sep 14, 2023
1 parent fa5577c commit 833ff0b
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions code/game/objects/items/weapons/material/material_weapons.dm
Original file line number Diff line number Diff line change
Expand Up @@ -39,12 +39,6 @@
qdel(src)
return

materials = material.get_matter()
if(materials.len)
for(var/material_type in materials)
if(!isnull(materials[material_type]))
materials[material_type] *= force_divisor // May require a new var instead.

if(!(material.conductive))
src.atom_flags |= NOCONDUCT

Expand Down

0 comments on commit 833ff0b

Please sign in to comment.