Skip to content

Commit

Permalink
fix save issue
Browse files Browse the repository at this point in the history
  • Loading branch information
FireMario211 committed Jan 25, 2024
1 parent 5bd354e commit 0bd50a6
Show file tree
Hide file tree
Showing 5 changed files with 14 additions and 118 deletions.
19 changes: 11 additions & 8 deletions mod.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"geode": "2.0.0",
"version": "v1.2.1",
"version": "v1.2.2",
"gd": {
"win": "2.204",
"android": "2.205"
Expand All @@ -16,25 +16,28 @@
"resources/icon.png",
"resources/Screenshot1.png",
"resources/gato.jpg",
"resources/checkmark.png",
"resources/Screenshot2.png",
"resources/PrismMenu.otf",
"resources/Hack-Regular.ttf",
"resources/themes.json",
"resources/hacks/README.md",
"resources/hacks/global.json",
"resources/hacks/player.json",
"resources/hacks/creator.json",
"resources/hacks/bypass.json",
"resources/hacks/misc.json",
"resources/hacks/settings.json",
"resources/hacks/*.json",
"resources/langs/spanish.json",
"resources/langs/french.json",
"resources/langs/portuguesebr.json",
"resources/langs/german.json",
"resources/langs/russian.json",
"resources/langs/czech.json",
"resources/langs/indonesian.json"
]
],
"fonts": {
"PrismMenu": {
"path": "resources/PrismMenu.otf",
"size": 128,
"charset": "21-383,507-513,898-1500"
}
}
},
"settings": {
"values": {
Expand Down
55 changes: 0 additions & 55 deletions resources/a.json

This file was deleted.

55 changes: 0 additions & 55 deletions resources/b.json

This file was deleted.

Binary file added resources/checkmark.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions src/CustomSettings.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,9 @@ struct matjson::Serialize<SettingHackStruct> {
.m_hackValues = value.as_array(),
};
}
static bool is_json(matjson::Value const& a) { // thank you mat!
return a.is_array();
}
static matjson::Value to_json(SettingHackStruct const& value) {
return value.m_hackValues;
}
Expand Down

0 comments on commit 0bd50a6

Please sign in to comment.