Skip to content

Commit

Permalink
Update ss_srv_time.lua
Browse files Browse the repository at this point in the history
Fix provided by Bluedai in #9
  • Loading branch information
Wyste authored Apr 27, 2023
1 parent 1cee2fd commit 9135c3c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions ss_srv_time.lua
Original file line number Diff line number Diff line change
Expand Up @@ -111,10 +111,10 @@ function ProcessTimeCommand(arg1,arg2)
else
h = 0
end
if argm < 60 and arm ~= nil then
if argm < 60 and argm ~= nil then
m = argm
else
m = 0
end
secondOfDay = (tonumber(h)*3600) + (tonumber(m)*60) + 0
end
end

0 comments on commit 9135c3c

Please sign in to comment.