mirror of
https://github.com/Ukendio/jecs.git
synced 2025-04-24 17:10:03 +00:00
12 lines
445 B
Text
12 lines
445 B
Text
local ReplicatedStorage = game:GetService("ReplicatedStorage")
|
|
local std = require(ReplicatedStorage.std)
|
|
local scheduler = std.Scheduler
|
|
for _, module in script.Parent:WaitForChild("systems"):GetChildren() do
|
|
require(module)(scheduler)
|
|
end
|
|
local events = scheduler.collect.all()
|
|
|
|
scheduler.systems.begin(events)
|
|
local jabby = require(ReplicatedStorage.Packages.jabby)
|
|
local client = jabby.obtain_client()
|
|
client.spawn_app(client.apps.home)
|