ok so it doesnt save but it...might load?

once again i have no idea. thanks for the hemp tho, huantian!
This commit is contained in:
ThatZeoMan 2022-08-17 23:17:16 -05:00
parent 8649e12908
commit 95cc8a700c
2 changed files with 2 additions and 2 deletions

View file

@ -512,7 +512,7 @@ namespace HeavenStudio.Editor
public string GetPropertiesJson() public string GetPropertiesJson()
{ {
string json = string.Empty; string json = string.Empty;
json = JsonConvert.SerializeObject(GameManager.instance.Beatmap); json = JsonConvert.SerializeObject(PropController.instance.properties);
return json; return json;
} }

View file

@ -21,7 +21,7 @@ namespace HeavenStudio.Editor
{ {
public static PropController instance { get; private set; } = new PropController(); public static PropController instance { get; private set; } = new PropController();
public Properties properties; public Properties properties = new Properties();
public void LoadProperties(string json = "") public void LoadProperties(string json = "")
{ {