mirror of
				https://github.com/Ukendio/jecs.git
				synced 2025-11-04 02:49:18 +00:00 
			
		
		
		
	Remove debug msgs
	
		
			
	
		
	
	
		
	
		
			Some checks are pending
		
		
	
	
	
				
					
				
			
		
			Some checks are pending
		
		
	
	
This commit is contained in:
		
							parent
							
								
									7b86084b94
								
							
						
					
					
						commit
						ebc39c8b28
					
				
					 1 changed files with 0 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -1070,9 +1070,7 @@ local function archetype_destroy(world: World, archetype: Archetype)
 | 
			
		|||
	local component_index = world.component_index
 | 
			
		||||
	local archetype_edges = world.archetype_edges
 | 
			
		||||
	local edges = archetype_edges[archetype.id]
 | 
			
		||||
	print("delete archetype id", archetype.id, archetype.type)
 | 
			
		||||
	for id, node in edges do
 | 
			
		||||
		print("node id", node.id)
 | 
			
		||||
		archetype_edges[node.id][id] = nil
 | 
			
		||||
		edges[id] = nil
 | 
			
		||||
	end
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue