Reafactoring Recipemanager

This commit is contained in:
JonShard
2026-07-17 19:24:23 +02:00
parent 847af48394
commit 714d813344
3 changed files with 58 additions and 5 deletions
+1 -1
View File
@@ -60,7 +60,7 @@ func _on_body_entered(body: Node3D) -> void:
print("CombinableItem _on_body_entered: other is not a foodItem")
return
var result: PackedScene = RecipeManager.get_combination(_food_item.id, other.id)
var result: PackedScene = RECIPE_MANAGER.get_combination_result(_food_item.id, other.id)
if not result:
print("CombinableItem _on_body_entered: There is no recipe for %s + %s" % [_food_item.id, other.id])
return