From ab5a24f4c0cffbc8e8f76e40293f2201027b7c50 Mon Sep 17 00:00:00 2001
From: miepzerino <o.skotnik@gmail.com>
Date: Mon, 07 Apr 2025 22:59:16 +0000
Subject: [PATCH] #49 added parallax and tiling to background

---
 Assets/Scripts/Inventory/Inventory.cs |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/Assets/Scripts/Inventory/Inventory.cs b/Assets/Scripts/Inventory/Inventory.cs
index f622519..23b1365 100644
--- a/Assets/Scripts/Inventory/Inventory.cs
+++ b/Assets/Scripts/Inventory/Inventory.cs
@@ -27,7 +27,7 @@
 
     private void LoadInventory()
     {
-        SaveDataPlayer save = SaveSystem.LoadPlayer();
+        SaveDataPlayer save = SaveSystemManager.Instance.GetPlayerStateFromSave();
         if (save != null)
         {
             foreach (SaveDataInventorySlot item in save.inventoryItems)

--
Gitblit v1.9.3