Skip to content

Commit

Permalink
Update RequiredKeyValue
Browse files Browse the repository at this point in the history
  • Loading branch information
cooolbros committed Dec 29, 2023
1 parent 4caaa19 commit 369fbab
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 3 deletions.
2 changes: 1 addition & 1 deletion src/HUDMerger/Models/HUD.cs
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down
9 changes: 7 additions & 2 deletions src/HUDMerger/Resources/Panels.json
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,13 @@
},
{
"Name": "Killfeed",
"Main": "scripts\\hudlayout.res",
"Main": "",
"RequiredKeyValue": {
"FilePath": "scripts\\hudlayout.res",
"KeyPath": [
"HudDeathNotice"
]
},
"Dependencies": {
"HUDLayout": [
"HudDeathNotice"
Expand Down Expand Up @@ -398,7 +404,6 @@
"RequiredKeyValue": {
"FilePath": "resource\\sourcescheme.res",
"KeyPath": [
"Scheme",
"Fonts",
"DefaultFixedOutline"
]
Expand Down

0 comments on commit 369fbab

Please sign in to comment.