1
mirror of https://github.com/thepeacockproject/Peacock synced 2025-03-01 14:43:02 +01:00

Fix arcade reset

This commit is contained in:
AnthonyFuller 2023-04-29 19:22:31 +01:00
parent d4df25d6d3
commit c609b9db3d

@ -461,8 +461,7 @@ function contractFailed(
// If this is an arcade contract, reset it
arcadeFail: if (json.Metadata.Type === "arcade") {
manualExit: if (
event.Value ===
"Contract ended manually: User pressed exit to Main menu"
(event.Value as string).startsWith("Contract ended manually")
) {
if (session.completedObjectives.size === 0) break arcadeFail