Changeset 22 for trunk/UGame.pas
- Timestamp:
- Mar 1, 2014, 5:56:14 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/UGame.pas
r21 r22 144 144 implementation 145 145 146 resourcestring 147 SMinimumPlayers = 'You need at least two players'; 148 146 149 function FloatPoint(AX, AY: Double): TFloatPoint; 147 150 begin … … 379 382 if FRunning = AValue then Exit; 380 383 if AValue then begin 381 if Players.Count < 2 then raise Exception.Create( 'You need at least two players');384 if Players.Count < 2 then raise Exception.Create(SMinimumPlayers); 382 385 FRunning := AValue; 383 386 end else FRunning := AValue;
Note:
See TracChangeset
for help on using the changeset viewer.