MantisBT - Soldat Dedicated Server
View Issue Details
0000377Soldat Dedicated ServerScripting Corepublic2013-08-09 12:392013-12-27 22:44
Mighty 
ExHunter 
normalminoralways
resolvedfixed 
x86WindowsXP SP3
2.7.5 
2.7.7 
0000377: Script Core 3 - Wrong values of TGame.TimeLeft
Condition (Game.Timeleft=0) is TRUE every minute
Use the script

procedure MyOnClockTick(t: integer);
begin
  if (Game.Timeleft=0) then
    WriteLn('TIMELEFT = 0');
end;

begin
  Game.OnClockTick := @MyOnClockTick;
end.
No tags attached.
Issue History
2013-08-09 12:39MightyNew Issue
2013-08-09 14:26FalconAssigned To => Falcon
2013-08-09 14:26FalconStatusnew => acknowledged
2013-08-09 14:27FalconStatusacknowledged => confirmed
2013-08-09 15:00MightyNote Added: 0001848
2013-12-27 22:44ExHunterStatusconfirmed => resolved
2013-12-27 22:44ExHunterFixed in Version => 2.7.7
2013-12-27 22:44ExHunterResolutionopen => fixed
2013-12-27 22:44ExHunterAssigned ToFalcon => ExHunter

Notes
(0001848)
Mighty   
2013-08-09 15:00   
Same thing happens with TimeLeft=1, so I guess the whole minute would be like that