human fight non multiple choice fix
This commit is contained in:
@@ -113,6 +113,9 @@ export function useHumanChallenge(
|
||||
}
|
||||
if (!humanChallenge.value || humanChallenge.value.roundNumber !== data.roundNumber) {
|
||||
applyChallenge(data)
|
||||
} else if (data.choices?.length && humanChoices.value.length === 0) {
|
||||
// SSE fallback had no choices, polling found them — update
|
||||
humanChoices.value = data.choices
|
||||
}
|
||||
} else if (data.fightStatus === 'finished') {
|
||||
humanChallenge.value = null
|
||||
|
||||
Reference in New Issue
Block a user