player additional: correctly observe display name

This commit is contained in:
Moritz Zwerger 2023-11-26 20:44:29 +01:00
parent d4a0ade701
commit 68d855041d
No known key found for this signature in database
GPG Key ID: 5CAD791931B09AC4

View File

@ -52,6 +52,7 @@ class PlayerAdditional(
init {
this::name.observe(this) { updateTabName() }
this::team.observe(this) { updateTabName() }
this::displayName.observe(this) { updateTabName() }
updateTabName()
}