mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-20 04:38:00 +00:00
AI won't have any more fun when the game is over.
This commit is contained in:
@@ -695,6 +695,9 @@ public class PhaseHandler extends MyObservable implements java.io.Serializable {
|
||||
* </p>
|
||||
*/
|
||||
public final void passPriority() {
|
||||
// stop game if it's outcome is clear
|
||||
if ( game.isGameOver() ) return;
|
||||
|
||||
final Player actingPlayer = this.getPriorityPlayer();
|
||||
final Player firstAction = this.getFirstPriority();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user