mirror of
https://github.com/luanti-org/luanti.git
synced 2025-11-29 12:15:18 +01:00
Lighting: Update lighting at block loading
This commit updates mapblocks' light if necessary when they are loaded. This removes ghost lighting.
This commit is contained in:
@@ -283,12 +283,6 @@ void RemoteClient::GetNextBlocks (
|
||||
surely_not_found_on_disk = true;
|
||||
}
|
||||
|
||||
// Block is valid if lighting is up-to-date and data exists
|
||||
if(block->isValid() == false)
|
||||
{
|
||||
block_is_invalid = true;
|
||||
}
|
||||
|
||||
if(block->isGenerated() == false)
|
||||
block_is_invalid = true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user