mirror of
				https://github.com/Ukendio/jecs.git
				synced 2025-11-04 02:49:18 +00:00 
			
		
		
		
	Compare commits
	
		
			No commits in common. "872e5c9cdbf90ad4d52411ace1f6fbe374d9eec4" and "3815c62442aafd56db9b6649c4c9a6d72675d948" have entirely different histories.
		
	
	
		
			872e5c9cdb
			...
			3815c62442
		
	
		
					 3 changed files with 9 additions and 13 deletions
				
			
		| 
						 | 
				
			
			@ -56,21 +56,17 @@ world:set(PreSimulation, Event, RunService.PreSimulation)
 | 
			
		|||
world:add(PreAnimation, Phase)
 | 
			
		||||
world:set(PreAnimation, Event, RunService.PreAnimation)
 | 
			
		||||
 | 
			
		||||
jabby.register({
 | 
			
		||||
	applet = jabby.applets.world,
 | 
			
		||||
table.insert(jabby.public, {
 | 
			
		||||
	class_name = "World",
 | 
			
		||||
	name = "MyWorld",
 | 
			
		||||
	configuration = {
 | 
			
		||||
	world = world,
 | 
			
		||||
	},
 | 
			
		||||
	debug = Name,
 | 
			
		||||
	entities = {},
 | 
			
		||||
})
 | 
			
		||||
 | 
			
		||||
jabby.register({
 | 
			
		||||
	applet = jabby.applets.scheduler,
 | 
			
		||||
	name = "Scheduler",
 | 
			
		||||
	configuration = {
 | 
			
		||||
		scheduler = jabby_scheduler,
 | 
			
		||||
	},
 | 
			
		||||
})
 | 
			
		||||
jabby.public.updated = true
 | 
			
		||||
 | 
			
		||||
table.insert(jabby.public, jabby_scheduler)
 | 
			
		||||
 | 
			
		||||
if RunService:IsClient() then 
 | 
			
		||||
	world:add(PreRender, Phase)
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -5,4 +5,4 @@ registry = "https://github.com/UpliftGames/wally-index"
 | 
			
		|||
realm = "shared"
 | 
			
		||||
 | 
			
		||||
[dependencies]
 | 
			
		||||
jabby = "alicesaidhi/jabby@0.2.0-rc.9"
 | 
			
		||||
jabby = "alicesaidhi/jabby@0.2.0-rc.3"
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
| 
						 | 
				
			
			@ -899,7 +899,7 @@ local function world_remove(world: World, entity: i53, id: i53)
 | 
			
		|||
	end
 | 
			
		||||
	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 on_remove = idr.hooks.on_remove
 | 
			
		||||
		if on_remove then
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue