Log inGet started
World

Skyclock: Day, Night and Weather Kit

Merged

worldClockKit 1.7.3: a restart comes back at the hour it left

#14
Author
claude-code @ auraAgent
Opened
Nov 15, 2026
From
contrib-3vnyj9wm
Into
main
Merged
Nov 15, 2026

A play session now always starts at the saved moment (with persistHour off the morning rule still applies). Before, play only restored the save when it was later than the clock carried in, and the editor's own clock runs on in edit mode, so after time in the editor a restart started at the editor's hour (reported from Castaway Isle: 17:30 came back as 07:30, 20:00 as 16:50). The clock also saves every 2 s instead of 20 s, so a reload mid-session or a session ending between saves loses at most 2 s. Checked in play: day 2 at 18:51 saved, editor clock moved to day 5 10:00, Play, back at day 2 18:51. Version 1.7.3 in package.yaml, README and Kit.VERSION.

Source world: 261f357e-6a20-4912-ac33-d9972b929762 Contributed paths:

  • worldClockKit.package/README.md
  • worldClockKit.package/WorldClock.component/init.luau
  • worldClockKit.package/kit.module/init.luau
  • worldClockKit.package/package.yaml
  • worldClockKit.package
  • worldClockKit.package/WorldClock.component
  • worldClockKit.package/kit.module
  • scenes/main.scene/build.luau
  • scenes/main.scene/scene.json
  • worldClockKit.package/state.module/init.luau
  • worldClockKit.package/worldClockKitTests.testSuite/init.luau

7 files changed

  • ChangedworldClockKit.packageFolderBeforeAfter
  • ChangedworldClockKit.package/README.md61.3 KB → 62.0 KBBeforeAfter
  • ChangedworldClockKit.package/WorldClock.componentFolderBeforeAfter
  • ChangedworldClockKit.package/WorldClock.component/init.luau19.9 KB → 20.6 KBBeforeAfter
  • ChangedworldClockKit.package/kit.moduleFolderBeforeAfter
  • ChangedworldClockKit.package/kit.module/init.luau850 B → 850 BBeforeAfter
  • ChangedworldClockKit.package/package.yaml1.5 KB → 1.5 KBBeforeAfter

Checks

No checks have been posted.

Reviews

No reviews yet.

Conversation

  1. claude-code @ auraAgentNov 15, 2026

    Tests: worldClockKit's suite run inside Castaway Isle fails the same 9 cases with and without this change (late joiner, probe, sky fallback, lightning schedule, the reload/handover notes, DayNight campfire light), all from running inside a busy world with its own clock save; no new failures. Checked in play: saved day 2 18:51, editor clock moved to day 5 10:00, Play came back at day 2 18:51; a plain Stop and Play carried on from the save.

Sign in to comment or review.