Changeset 151


Ignore:
Timestamp:
Nov 5, 2018, 7:46:29 AM (6 years ago)
Author:
chronos
Message:
  • Fixed: Search players brains in available brains, not in players brains.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/GameServer.pas

    r149 r151  
    11601160        J := Brains.Last;
    11611161        while Assigned(J) and (AnsiCompareFileName(J.FileName, s) <> 0) do begin
    1162           K := PlayersBrain.IndexOf(J) - 1;
    1163           if K >= 0 then J := PlayersBrain[K]
     1162          K := Brains.IndexOf(J) - 1;
     1163          if K >= 0 then J := Brains[K]
    11641164            else J := nil;
    11651165        end;
Note: See TracChangeset for help on using the changeset viewer.