1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-14 00:55:20 +02:00

Allow saturation to be controlled by the server. (#13075)

This commit is contained in:
lhofhansl
2022-12-25 16:15:32 -08:00
committed by GitHub
parent afd5caa26a
commit 1e7804aaf6
10 changed files with 23 additions and 16 deletions

View File

@@ -1764,4 +1764,6 @@ void Client::handleCommand_SetLighting(NetworkPacket *pkt)
if (pkt->getRemainingBytes() >= 4)
*pkt >> lighting.shadow_intensity;
if (pkt->getRemainingBytes() >= 4)
*pkt >> lighting.saturation;
}