aboutsummaryrefslogtreecommitdiff
path: root/client/game.gd
diff options
context:
space:
mode:
Diffstat (limited to 'client/game.gd')
-rw-r--r--client/game.gd4
1 files changed, 2 insertions, 2 deletions
diff --git a/client/game.gd b/client/game.gd
index 34040034..89a68be5 100644
--- a/client/game.gd
+++ b/client/game.gd
@@ -226,7 +226,7 @@ func handle_packet(p):
if p.message != null:
if "item" in p.message:
var item_name: String = item_names[p.message.item]
- var parsed_item := ItemFactory.ParsedItem.new(item_name)
+ var parsed_item := ItemFactory.ItemName.new(item_name)
var ingredients := [parsed_item.name]
ingredients.append_array(parsed_item.contents)
@@ -309,7 +309,7 @@ func handle_packet(p):
update_tutorial_running.emit(tutorial_running)
if p.success:
- var completed_item := ItemFactory.ParsedItem.new(item_names[p.item])
+ var completed_item := ItemFactory.ItemName.new(item_names[p.item])
var played: Array = Profile.read("tutorial_ingredients_played")
played.append(completed_item.name)
played.append_array(completed_item.contents)