diff --git a/src/server.cpp b/src/server.cpp index 6df86f890..198e06677 100644 --- a/src/server.cpp +++ b/src/server.cpp @@ -1901,7 +1901,7 @@ void Server::SendOverrideDayNightRatio(session_t peer_id, bool do_override, Send(&pkt); } -void Server::SendSetLighting(session_t peer_id, const Lighting & lighting) +void Server::SendSetLighting(session_t peer_id, const Lighting &lighting) { NetworkPacket pkt(TOCLIENT_SET_LIGHTING, 4, peer_id); @@ -1910,11 +1910,11 @@ void Server::SendSetLighting(session_t peer_id, const Lighting & lighting) pkt << lighting.saturation; pkt << lighting.exposure.luminance_min - << lighting.exposure.luminance_max - << lighting.exposure.exposure_correction - << lighting.exposure.speed_dark_bright - << lighting.exposure.speed_bright_dark - << lighting.exposure.center_weight_power; + << lighting.exposure.luminance_max + << lighting.exposure.exposure_correction + << lighting.exposure.speed_dark_bright + << lighting.exposure.speed_bright_dark + << lighting.exposure.center_weight_power; pkt << lighting.volumetric_light_strength << lighting.shadow_tint; pkt << lighting.bloom_intensity << lighting.bloom_strength_factor <<