diff --git a/modules/web-map/src/main/kotlin/dev/adamko/kafkatorio/webmap/state/playerState.kt b/modules/web-map/src/main/kotlin/dev/adamko/kafkatorio/webmap/state/playerState.kt index 7cd71ab..c659521 100644 --- a/modules/web-map/src/main/kotlin/dev/adamko/kafkatorio/webmap/state/playerState.kt +++ b/modules/web-map/src/main/kotlin/dev/adamko/kafkatorio/webmap/state/playerState.kt @@ -149,8 +149,8 @@ sealed interface PlayerProperties { val surfaceIndex = update.surfaceIndex ?: this.surfaceIndex val colour = update.colour ?: this.colour val name = update.name ?: this.name - val isConnected = update.isConnected ?: false - val isShowOnMap = update.isShowOnMap ?: false + val isConnected = update.isConnected + val isShowOnMap = update.isShowOnMap return when { position != null