mirror of
https://github.com/thepeacockproject/Peacock
synced 2025-03-01 14:43:02 +01:00
Fix arcade reset
This commit is contained in:
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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user