Reset skybox color on network shutdown (#393)

This commit is contained in:
Blockyyy 2024-11-01 12:25:54 +01:00 committed by GitHub
parent d02b85bb5e
commit 93cbf480b6
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -679,6 +679,9 @@ void network_shutdown(bool sendLeaving, bool exiting, bool popup, bool reconnect
gVertexColor[0] = 255;
gVertexColor[1] = 255;
gVertexColor[2] = 255;
gSkyboxColor[0] = 255;
gSkyboxColor[1] = 255;
gSkyboxColor[2] = 255;
gFogColor[0] = 255;
gFogColor[1] = 255;
gFogColor[2] = 255;