Skip to content

Commit 4678c9b

Browse files
Merge pull request #11 from Clearlyio/patch-5
Update server.lua
2 parents 0f1dc3f + 867a187 commit 4678c9b

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drp_core/sync/server.lua

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ function StartTimeChanging()
6969
if minutes >= 60 then
7070
hours = hours + 1
7171
minutes = 0
72-
if hours > 24 then
72+
if hours >= 24 then
7373
hours = 0
7474
end
7575
end
@@ -95,4 +95,4 @@ function RemoteSetTime(mins, hrs)
9595
mins = mins
9696
TriggerClientEvent("DRP_TimeSync:SetTime", -1, hours, minutes)
9797
return {hasSet = true, msg = "You have set the time!"}
98-
end
98+
end

0 commit comments

Comments
 (0)