We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent fea73a3 commit e352eeeCopy full SHA for e352eee
octgnFX/Octgn/Play/Player.cs
@@ -559,6 +559,10 @@ internal void Delete()
559
all.Remove(this);
560
spectators.Remove(this);
561
}
562
+ if (Program.GameEngine.TurnPlayer == this)
563
+ {
564
+ Program.GameEngine.TurnPlayer = null;
565
+ }
566
this.OnPropertyChanged("Ready");
567
foreach (var p in all)
568
p.OnPropertyChanged("WaitingOnPlayers");
recentchanges.txt
@@ -1 +1 @@
1
-
+Players leaving the game when its their turn will reset the active player to null (initial)
0 commit comments