fix: makes the loading process more consistent by using all ESC commands; also fixes issue caused by loaded save games not executing :setup or :ready, thereby preventing proper room switching in this case

This commit is contained in:
Duncan Brown
2022-03-21 22:30:16 -04:00
committed by Julian Murgia
parent ecb7bfb528
commit 84c84d3a0f
3 changed files with 38 additions and 22 deletions

View File

@@ -54,6 +54,7 @@ func add_new_item_by_id(item_id: String) -> void:
item_id,
ResourceLoader.load(inventory_file).instance()
),
null,
true
)
else:
@@ -79,6 +80,7 @@ func add_new_item_by_id(item_id: String) -> void:
item_id,
inventory_item_button
),
null,
true
)