summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--client/map/items/food_processor_content.gd3
1 files changed, 2 insertions, 1 deletions
diff --git a/client/map/items/food_processor_content.gd b/client/map/items/food_processor_content.gd
index a8ba1079..8910590f 100644
--- a/client/map/items/food_processor_content.gd
+++ b/client/map/items/food_processor_content.gd
@@ -23,5 +23,6 @@ func _init(owned_by_: Node3D):
add_child(content)
func set_color(c: Color):
- var mat: BaseMaterial3D = content.get_active_material(0)
+ var mat: BaseMaterial3D = content.get_active_material(0).duplicate(true)
mat.albedo_color = c
+ content.material_override = mat