From a6ff84c09a1d2715f7549c6354c16547dd5b2e0a Mon Sep 17 00:00:00 2001 From: Applevangelist <72444570+Applevangelist@users.noreply.github.com> Date: Thu, 21 Jan 2021 15:34:50 +0100 Subject: [PATCH] ATIS.lua update time calculation over midnight (logic error) Actually line 1322 + time here, sind it's negative ... :) --- Moose Development/Moose/Ops/ATIS.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Moose Development/Moose/Ops/ATIS.lua b/Moose Development/Moose/Ops/ATIS.lua index 688b743b7..044963a28 100644 --- a/Moose Development/Moose/Ops/ATIS.lua +++ b/Moose Development/Moose/Ops/ATIS.lua @@ -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)