allow weak connections to receive demo code

This commit is contained in:
Andrew Varga
2025-04-11 00:37:18 +02:00
parent 2625c14783
commit 2791dd8ba7

View File

@ -53,7 +53,8 @@ export function useDemoCode() {
}
// Don't run if the network isn't healthy or the connection isn't established
if (
overallState !== NetworkHealthState.Ok ||
overallState === NetworkHealthState.Disconnected ||
overallState === NetworkHealthState.Issue ||
immediateState.type !== EngineConnectionStateType.ConnectionEstablished
) {
return