Changeset 415 for trunk/Game.pas


Ignore:
Timestamp:
Jan 10, 2025, 8:51:02 PM (5 hours ago)
Author:
chronos
Message:
  • Fixed: Do not show player win dialog if there is only one player in the game.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Game.pas

    r414 r415  
    872872begin
    873873  Winner := nil;
    874   if WinObjective = woDefeatAllOponents then begin
     874  if (WinObjective = woDefeatAllOponents) and (Players.Count > 1) then begin
    875875    AlivePlayers := Players.GetAlivePlayers;
    876876    if (Length(AlivePlayers) <= 1) then begin
Note: See TracChangeset for help on using the changeset viewer.