diff --git a/src/HUDMerger/Models/HUD.cs b/src/HUDMerger/Models/HUD.cs index d99a784..4e25550 100644 --- a/src/HUDMerger/Models/HUD.cs +++ b/src/HUDMerger/Models/HUD.cs @@ -74,7 +74,7 @@ bool TestFile(FileInfo file) bool TestKeyValues(KeyValues keyValues) { - KeyValues obj = keyValues; + KeyValues obj = keyValues.Header(); foreach (string key in panel.RequiredKeyValue.KeyPath) { diff --git a/src/HUDMerger/Resources/Panels.json b/src/HUDMerger/Resources/Panels.json index 47debbf..5c3fbdb 100644 --- a/src/HUDMerger/Resources/Panels.json +++ b/src/HUDMerger/Resources/Panels.json @@ -281,7 +281,13 @@ }, { "Name": "Killfeed", - "Main": "scripts\\hudlayout.res", + "Main": "", + "RequiredKeyValue": { + "FilePath": "scripts\\hudlayout.res", + "KeyPath": [ + "HudDeathNotice" + ] + }, "Dependencies": { "HUDLayout": [ "HudDeathNotice" @@ -398,7 +404,6 @@ "RequiredKeyValue": { "FilePath": "resource\\sourcescheme.res", "KeyPath": [ - "Scheme", "Fonts", "DefaultFixedOutline" ]