Skip to content

Commit

Permalink
Update TimeHandler.Script.lua
Browse files Browse the repository at this point in the history
  • Loading branch information
Atmerek authored Nov 29, 2024
1 parent 6797ae8 commit b445142
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions RobloxFiles/ServerScriptService/TimeHandler.Script.lua
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
local HttpService = game:GetService("HttpService")
local Lighting = game:GetService("Lighting")
local ReplicatedStorage = game:GetService("ReplicatedStorage")
local endpointURL = "http://localhost/world"
local endpointURL = "http://" .. ReplicatedStorage.IP.Value .. "/world"

local function generateTimeConversionTable()
local conversionTable, nightStart, nightEnd, dayStart, dayEnd = {}, 18000, 24000, 0, 18000
Expand Down Expand Up @@ -53,4 +53,4 @@ updateWorldInfo()
while true do
wait(2)
updateWorldInfo()
end
end

0 comments on commit b445142

Please sign in to comment.