player fix
This commit is contained in:
1 parent
353d291ef5
commit
b98a1d4a1d
1 file changed
+1
-1
+1
-1
@@ -219,7 +219,7 @@ class KaTrainGui(Screen, KaTrainBase):
|
||||
super().update_player(bw, **kwargs)
|
||||
if self.game:
|
||||
sgf_name = self.game.root.get_property("P" + bw)
|
||||
self.players_info[bw].name = None if SGF_INTERNAL_COMMENTS_MARKER in sgf_name else sgf_name
|
||||
self.players_info[bw].name = None if not sgf_name or SGF_INTERNAL_COMMENTS_MARKER in sgf_name else sgf_name
|
||||
if self.controls:
|
||||
self.controls.update_players()
|
||||
self.update_state()
|
||||
|
||||
Reference in new issue
Block a user