#1 2021.10.31 12:37:33
0
function syncRealTime(h, m)
-- set the ingame time
setTime(h, m)
-- make ingame time progress at the same rate as real time (60 seconds per minute)
setMinuteDuration(60000)
end
addEventHandler("onResourceStart", resourceRoot, syncRealTime)