Correct order of if statement check to prevent null error

This commit is contained in:
Neil Burrows 2021-04-04 14:46:42 +01:00
parent 666fe2cf38
commit d3f8fa8f4c

View File

@ -455,7 +455,7 @@ function LoginFlow(startOver = false as boolean)
dialog.close = true
end if
if serverInfoResult.Error or startOver then
if startOver or serverInfoResult.Error then
print "Get server details"
SendPerformanceBeacon("AppDialogInitiate") ' Roku Performance monitoring - Dialog Starting
serverSelection = CreateServerGroup()