This commit is contained in:
Tanasart 2024-07-13 17:46:54 +07:00
parent 9a8739d376
commit 2891194037
2 changed files with 5 additions and 4 deletions

View File

@ -36,10 +36,10 @@
globalvar VERSION, SAVE_VERSION, VERSION_STRING, BUILD_NUMBER, LATEST_VERSION;
LATEST_VERSION = 11700;
VERSION = 11761;
VERSION = 11770;
SAVE_VERSION = 11700;
VERSION_STRING = "1.17.7.007";
BUILD_NUMBER = 11761;
VERSION_STRING = "1.17.7";
BUILD_NUMBER = 11770;
globalvar HOTKEYS, HOTKEY_CONTEXT;
HOTKEYS = ds_map_create();

View File

@ -267,7 +267,8 @@
var path = DIRECTORY + "keys.json";
if(file_exists(path)) {
var map = json_load_struct(path);
struct_override(PREFERENCES, map);
if(struct_has(map, "preferences")) struct_override(PREFERENCES, map.preferences);
else struct_override(PREFERENCES, map);
}
var path = DIRECTORY + "hotkeys.json";