|
|
@ -48,7 +48,7 @@ class IConsole : ActiveDriver() { |
|
|
|
} |
|
|
|
val connectionString = device.connectionString.substring("iconsole:".length) |
|
|
|
|
|
|
|
health = 3 |
|
|
|
health = 7 |
|
|
|
bonusTime = 0 |
|
|
|
bonusCals = 0 |
|
|
|
bonusMeters = 0 |
|
|
@ -61,7 +61,7 @@ class IConsole : ActiveDriver() { |
|
|
|
health-- |
|
|
|
if (health == 0) { |
|
|
|
runBlocking { |
|
|
|
output.emit(ErrorOccurred("Disconnected thrice during exercise")) |
|
|
|
output.emit(ErrorOccurred("Disconnected seven times during exercise")) |
|
|
|
output.emit(Disconnected) |
|
|
|
} |
|
|
|
return |
|
|
|