Skip to content

Commit

Permalink
Add ispeacock.json
Browse files Browse the repository at this point in the history
  • Loading branch information
AnthonyFuller committed Aug 27, 2023
1 parent 9048574 commit c428643
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions components/menus/menuSystem.ts
Original file line number Diff line number Diff line change
Expand Up @@ -80,6 +80,9 @@ export class MenuSystemDatabase {
this.hooks.getDatabaseDiff.tap(
"PeacockInternal",
(configs, gameVersion) => {
// This is global to all versions
configs.push("menusystem/data/ispeacock.json")

if (gameVersion === "h3") {
configs.push(
"menusystem/elements/settings/data/isnonvroptionvisible.json",
Expand Down Expand Up @@ -238,6 +241,13 @@ export class MenuSystemDatabase {
$else: true,
},
}
case "/data/ispeacock.json":
return {
"$if $eq (0,0)": {
$then: true,
$else: true,
},
}
case "/pages/multiplayer/content/lobbyslim.json":
return getConfig("LobbySlimTemplate", false)
case "/pages/pause/pausemenu/restart.json":
Expand Down

0 comments on commit c428643

Please sign in to comment.