Skip to content

Commit 6e0fee9

Browse files
committed
Fix crash that can happen while loading into missions from the menu
1 parent 968b4ca commit 6e0fee9

4 files changed

Lines changed: 6 additions & 9 deletions

File tree

static/peacock-menu/flags/category.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,12 @@
2929
"$if $eq($.valueType,category)": {
3030
"$then": {
3131
"$include": {
32-
"$path": "$formatstring menusystem/pages/peacock-menu/flags/category.json@{$.@global.CacheBuster}"
32+
"$path": "$formatstring menusystem/pages/peacock-menu/flags/category.json@0"
3333
}
3434
},
3535
"$else": {
3636
"$include": {
37-
"$path": "$formatstring menusystem/pages/peacock-menu/flags/flag.json@{$.@global.CacheBuster}"
37+
"$path": "$formatstring menusystem/pages/peacock-menu/flags/flag.json@0"
3838
}
3939
}
4040
}

static/peacock-menu/flags/index.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,12 +22,12 @@
2222
"$if $eq($.valueType,category)": {
2323
"$then": {
2424
"$include": {
25-
"$path": "$formatstring menusystem/pages/peacock-menu/flags/category.json@{$.@global.CacheBuster}"
25+
"$path": "$formatstring menusystem/pages/peacock-menu/flags/category.json@0"
2626
}
2727
},
2828
"$else": {
2929
"$include": {
30-
"$path": "$formatstring menusystem/pages/peacock-menu/flags/flag.json@{$.@global.CacheBuster}"
30+
"$path": "$formatstring menusystem/pages/peacock-menu/flags/flag.json@0"
3131
}
3232
}
3333
}

static/peacock-menu/index.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,9 @@
11
{
22
"$datacontext": {
33
"in": "$.",
4-
"datavalues": {
5-
"@global.CacheBuster": "0"
6-
},
74
"do": {
85
"$include": {
9-
"$path": "$formatstring menusystem/pages/peacock-menu/options.json@{$.@global.CacheBuster}"
6+
"$path": "$formatstring menusystem/pages/peacock-menu/options.json@0"
107
}
118
}
129
}

static/peacock-menu/options.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
},
4747
{
4848
"$include": {
49-
"$path": "$formatstring menusystem/pages/peacock-menu/flags/index.json@{$.@global.CacheBuster}"
49+
"$path": "$formatstring menusystem/pages/peacock-menu/flags/index.json@0"
5050
}
5151
}
5252
]

0 commit comments

Comments
 (0)