Skip to content

Commit

Permalink
Merge pull request #11 from Clearlyio/patch-5
Browse files Browse the repository at this point in the history
Update server.lua
  • Loading branch information
OfficialDarkzy authored Mar 16, 2020
2 parents 0f1dc3f + 867a187 commit 4678c9b
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drp_core/sync/server.lua
Original file line number Diff line number Diff line change
Expand Up @@ -69,7 +69,7 @@ function StartTimeChanging()
if minutes >= 60 then
hours = hours + 1
minutes = 0
if hours > 24 then
if hours >= 24 then
hours = 0
end
end
Expand All @@ -95,4 +95,4 @@ function RemoteSetTime(mins, hrs)
mins = mins
TriggerClientEvent("DRP_TimeSync:SetTime", -1, hours, minutes)
return {hasSet = true, msg = "You have set the time!"}
end
end

0 comments on commit 4678c9b

Please sign in to comment.