mirror of
				https://github.com/luanti-org/luanti.git
				synced 2025-11-04 09:15:29 +01:00 
			
		
		
		
	Don't save blocks asap for only lighting updates
This commit is contained in:
		@@ -155,7 +155,7 @@ public:
 | 
			
		||||
	{
 | 
			
		||||
		if (newflags != m_lighting_complete) {
 | 
			
		||||
			m_lighting_complete = newflags;
 | 
			
		||||
			raiseModified(MOD_STATE_WRITE_NEEDED, MOD_REASON_SET_LIGHTING_COMPLETE);
 | 
			
		||||
			raiseModified(MOD_STATE_WRITE_AT_UNLOAD, MOD_REASON_SET_LIGHTING_COMPLETE);
 | 
			
		||||
		}
 | 
			
		||||
	}
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user