diff options
author | Rusty Striker <avivr903@tutanota.com> | 2024-07-09 21:54:03 +0300 |
---|---|---|
committer | metamuffin <metamuffin@disroot.org> | 2024-07-09 20:56:43 +0200 |
commit | 6975d465c406f5f9e360d34a98b65efc640f1d7a (patch) | |
tree | 983eea402b2f893ad5983ec0057ee05d07faceda | |
parent | 5cfc9451c070bd6e063b8fe935b55779a9acc97a (diff) | |
download | hurrycurry-1.0.0.tar hurrycurry-1.0.0.tar.bz2 hurrycurry-1.0.0.tar.zst |
fix food processor getting the same colorv1.0.0
-rw-r--r-- | client/map/items/food_processor_content.gd | 3 |
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 |