Ensure attached autotiles aren't mega surfaces
This commit is contained in:
		
							parent
							
								
									8b53681e11
								
							
						
					
					
						commit
						4af4f5bd6b
					
				
					 1 changed files with 3 additions and 0 deletions
				
			
		| 
						 | 
				
			
			@ -491,6 +491,9 @@ struct TilemapPrivate
 | 
			
		|||
			if (autotiles[i]->isDisposed())
 | 
			
		||||
				continue;
 | 
			
		||||
 | 
			
		||||
			if (autotiles[i]->megaSurface())
 | 
			
		||||
				continue;
 | 
			
		||||
 | 
			
		||||
			usableATs.append(i);
 | 
			
		||||
 | 
			
		||||
			autotiles[i]->flush();
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue