Compare commits

..

1 commit

Author SHA1 Message Date
Ajay
cae035215d
Merge 918231a1ad into 3815c62442 2025-02-20 18:09:23 -05:00
3 changed files with 9 additions and 13 deletions

View file

@ -56,21 +56,17 @@ world:set(PreSimulation, Event, RunService.PreSimulation)
world:add(PreAnimation, Phase) world:add(PreAnimation, Phase)
world:set(PreAnimation, Event, RunService.PreAnimation) world:set(PreAnimation, Event, RunService.PreAnimation)
jabby.register({ table.insert(jabby.public, {
applet = jabby.applets.world, class_name = "World",
name = "MyWorld", name = "MyWorld",
configuration = {
world = world, world = world,
}, debug = Name,
entities = {},
}) })
jabby.register({ jabby.public.updated = true
applet = jabby.applets.scheduler,
name = "Scheduler", table.insert(jabby.public, jabby_scheduler)
configuration = {
scheduler = jabby_scheduler,
},
})
if RunService:IsClient() then if RunService:IsClient() then
world:add(PreRender, Phase) world:add(PreRender, Phase)

View file

@ -5,4 +5,4 @@ registry = "https://github.com/UpliftGames/wally-index"
realm = "shared" realm = "shared"
[dependencies] [dependencies]
jabby = "alicesaidhi/jabby@0.2.0-rc.9" jabby = "alicesaidhi/jabby@0.2.0-rc.3"

View file

@ -899,7 +899,7 @@ local function world_remove(world: World, entity: i53, id: i53)
end end
local to = archetype_traverse_remove(world, id, from) local to = archetype_traverse_remove(world, id, from)
if from ~= to then if from and not (from == to) then
local idr = world.component_index[id] local idr = world.component_index[id]
local on_remove = idr.hooks.on_remove local on_remove = idr.hooks.on_remove
if on_remove then if on_remove then