mirror of
				https://github.com/Ukendio/jecs.git
				synced 2025-11-04 02:49:18 +00:00 
			
		
		
		
	Remove alive count upvalue
This commit is contained in:
		
							parent
							
								
									fc56b6f716
								
							
						
					
					
						commit
						25ceda5cee
					
				
					 1 changed files with 1 additions and 2 deletions
				
			
		| 
						 | 
				
			
			@ -2156,12 +2156,11 @@ end
 | 
			
		|||
local function world_new()
 | 
			
		||||
	local eindex_dense_array = {} :: { Entity }
 | 
			
		||||
	local eindex_sparse_array = {} :: { Record }
 | 
			
		||||
	local eindex_alive_count = 0
 | 
			
		||||
 | 
			
		||||
	local entity_index = {
 | 
			
		||||
		dense_array = eindex_dense_array,
 | 
			
		||||
		sparse_array = eindex_sparse_array,
 | 
			
		||||
		alive_count = eindex_alive_count,
 | 
			
		||||
		alive_count = 0,
 | 
			
		||||
		max_id = 0,
 | 
			
		||||
	} :: EntityIndex
 | 
			
		||||
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
		Reference in a new issue