Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
PickleModifications authored Oct 30, 2022
1 parent f3d6748 commit e4914bb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion ptelevision/client/main.lua
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ RegisterNetEvent("ptelevision:requestSync", function(coords, data)
if (status.channel and Channels[status.channel]) then
PlayVideo({url = Channels[status.channel].url, channel = status.channel})
elseif (status.url) then
local time = math.floor((data.current_time - update_time) / 1000)
local time = math.floor(data.current_time - update_time)
PlayVideo({url = status.url, time = time})
end
elseif (status.type == "browser") then
Expand Down

0 comments on commit e4914bb

Please sign in to comment.