Fix V1 menu

This commit is contained in:
pizzaboxer 2024-10-02 23:09:40 +01:00
parent 89b2ec96d1
commit 876480464b
No known key found for this signature in database
GPG Key ID: 59D4A1DBAD0F2BA8
2 changed files with 19 additions and 5 deletions

View File

@ -55,6 +55,8 @@ namespace Bloxstrap
{ "UI.Menu.Style.EnableV4.1", "FFlagEnableInGameMenuControls" },
{ "UI.Menu.Style.EnableV4.2", "FFlagEnableInGameMenuModernization" },
{ "UI.Menu.Style.EnableV4Chrome", "FFlagEnableInGameMenuChrome" },
{ "UI.Menu.Style.ReportButtonCutOff", "FFlagFixReportButtonCutOff" },
{ "UI.Menu.Style.ABTest.1", "FFlagEnableMenuControlsABTest" },
{ "UI.Menu.Style.ABTest.2", "FFlagEnableV3MenuABTest3" },
@ -104,7 +106,8 @@ namespace Bloxstrap
{ "V2Rollout", null },
{ "EnableV4", null },
{ "EnableV4Chrome", null },
{ "ABTest", null }
{ "ABTest", null },
{ "ReportButtonCutOff", null }
}
},
@ -115,7 +118,8 @@ namespace Bloxstrap
{ "V2Rollout", "0" },
{ "EnableV4", "False" },
{ "EnableV4Chrome", "False" },
{ "ABTest", "False" }
{ "ABTest", "False" },
{ "ReportButtonCutOff", "False" }
}
},
@ -126,7 +130,8 @@ namespace Bloxstrap
{ "V2Rollout", "100" },
{ "EnableV4", "False" },
{ "EnableV4Chrome", "False" },
{ "ABTest", "False" }
{ "ABTest", "False" },
{ "ReportButtonCutOff", null }
}
},
@ -137,7 +142,8 @@ namespace Bloxstrap
{ "V2Rollout", "0" },
{ "EnableV4", "True" },
{ "EnableV4Chrome", "False" },
{ "ABTest", "False" }
{ "ABTest", "False" },
{ "ReportButtonCutOff", null }
}
},
@ -148,7 +154,8 @@ namespace Bloxstrap
{ "V2Rollout", "0" },
{ "EnableV4", "True" },
{ "EnableV4Chrome", "True" },
{ "ABTest", "False" }
{ "ABTest", "False" },
{ "ReportButtonCutOff", null }
}
}
};

View File

@ -547,9 +547,16 @@ namespace Bloxstrap
if (oldV2Val is not null)
{
if (oldV2Val == "True")
{
App.FastFlags.SetPreset("UI.Menu.Style.V2Rollout", "0");
if (App.FastFlags.GetValue("UI.Menu.Style.EnableV4.1") == "False")
App.FastFlags.SetPreset("UI.Menu.Style.ReportButtonCutOff", "False");
}
else
{
App.FastFlags.SetPreset("UI.Menu.Style.V2Rollout", "100");
}
App.FastFlags.SetValue("FFlagDisableNewIGMinDUA", null);
}