From e4914bb4dd8d1961bb246bb27103152ba89cd6d2 Mon Sep 17 00:00:00 2001 From: Pickle <111543470+PickleModifications@users.noreply.github.com> Date: Sun, 30 Oct 2022 18:12:03 -0400 Subject: [PATCH] Add files via upload --- ptelevision/client/main.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ptelevision/client/main.lua b/ptelevision/client/main.lua index 88a8c36..92c5e81 100644 --- a/ptelevision/client/main.lua +++ b/ptelevision/client/main.lua @@ -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