More and more fixes.

This commit is contained in:
Ghommie
2020-06-29 18:52:37 +02:00
parent 53a9dd560b
commit 0779dd560e
18 changed files with 28 additions and 22 deletions

View File

@@ -1019,7 +1019,7 @@ Proc for attack log creation, because really why not
custom_materials = null
return
if(material_flags & MATERIAL_EFFECTS)
if(material_flags)
for(var/x in materials)
var/datum/material/custom_material = SSmaterials.GetMaterialRef(x)
custom_material.on_applied(src, materials[x] * multiplier * material_modifier, material_flags)