Merge pull request #1436 from Applevangelist/patch-44

ATIS.lua update time calculation over midnight (logic error)
This commit is contained in:
Frank
2021-01-21 17:11:07 +01:00
committed by GitHub

View File

@@ -1319,7 +1319,7 @@ function ATIS:onafterBroadcast(From, Event, To)
end
if time < 0 then
time = 24*60*60 - time --avoid negative time around midnight
time = 24*60*60 + time --avoid negative time around midnight
end
local clock=UTILS.SecondsToClock(time)