HeishaMon icon indicating copy to clipboard operation
HeishaMon copied to clipboard

timer with value greater than 999s does not work

Open salami738 opened this issue 1 year ago • 1 comments

Hi, thanks for heishamon, it is very useful!

I found a bug in the rules implementation:

Does not work (cannot be saved in the gui)

on System#Boot then
  setTimer(1, 1000);
end

on timer=1 then
  #test = 1;
end

Works

on System#Boot then
  setTimer(1, 999);
end

on timer=1 then
  #test = 1;
end

I think there is a overflow for values > 999s

salami738 avatar Nov 03 '23 13:11 salami738