Movement settings

This commit is contained in:
Martin
2022-12-12 12:21:59 +01:00
parent fbd201fb44
commit 6cced4ecfc
4 changed files with 6 additions and 3 deletions

View File

@@ -31,6 +31,8 @@ function deleteUnusedProperties(templateSettings: GameSettings, savedSettings: G
}
function getAllKeys(objectWithKeys: any, prefix = ""): string[] {
if (typeof objectWithKeys === "string") return [];
const keys: string[] = [];
const objectKeys: string[] = Object.keys(objectWithKeys);