working intermediate state of the save system
This commit is contained in:
@@ -206,6 +206,9 @@ public partial class InventoryInstance : Node
|
||||
var sceneName = SCENE_NAME;
|
||||
var id = ID;
|
||||
string jsonPayload = SavegameService.GetSaveData(sceneName, id);
|
||||
if (string.IsNullOrEmpty(jsonPayload))
|
||||
return;
|
||||
|
||||
Godot.Collections.Dictionary<string, Variant> save = Json.ParseString(jsonPayload).AsGodotDictionary<string, Variant>();
|
||||
|
||||
if (save.Count > 0)
|
||||
|
||||
Reference in New Issue
Block a user