changed the difficulty stars to be skulls instead, to better reflect how LSS handles stars

This commit is contained in:
JHDev2006
2025-09-20 18:39:14 +01:00
parent d73a288672
commit 99066de39b
3 changed files with 11 additions and 4 deletions

View File

@@ -57,6 +57,9 @@ func get_levels(path := "user://custom_levels") -> void:
file.close()
var data = json["Levels"][0]["Data"].split("=")
var info = json["Info"]
container.is_downloaded = path.contains("/downloaded/")
if container.is_downloaded:
container.level_id = path.get_file().replace(".lvl", "")
container.level_name = info["Name"]
container.level_author = info["Author"]
container.level_desc = info["Description"]