aboutsummaryrefslogtreecommitdiffstats
path: root/Game/Code/Classes/ULight.pas
diff options
context:
space:
mode:
Diffstat (limited to 'Game/Code/Classes/ULight.pas')
-rw-r--r--Game/Code/Classes/ULight.pas5
1 files changed, 0 insertions, 5 deletions
diff --git a/Game/Code/Classes/ULight.pas b/Game/Code/Classes/ULight.pas
index a4bebfd2..a0a399ab 100644
--- a/Game/Code/Classes/ULight.pas
+++ b/Game/Code/Classes/ULight.pas
@@ -123,19 +123,14 @@ end;
procedure TLight.Refresh;
var
Time: real;
-// TimeSkip: real;
L: integer;
begin
if Enabled then begin
Time := GetTime;
-// TimeSkip := Time - LastTime;
for L := 0 to 7 do begin
if Light[L] = true then begin
if LightTime[L] > Time then begin
- // jest jeszcze zapas - bez zmian
- //LightTime[L] := LightTime[L] - TimeSkip;
end else begin
- // czas minal
Light[L] := false;
end;
end;