From 6c9a15cbe999273fe227011805f2e23e471b866f Mon Sep 17 00:00:00 2001 From: Agent X <44549182+Agent-11@users.noreply.github.com> Date: Sun, 26 Mar 2023 12:50:21 -0400 Subject: [PATCH] Fix envfx not resetting (#329) --- src/pc/network/network.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/pc/network/network.c b/src/pc/network/network.c index e18b1dec..ea66df4c 100644 --- a/src/pc/network/network.c +++ b/src/pc/network/network.c @@ -24,6 +24,7 @@ #include "game/skybox.h" #include "game/object_list_processor.h" #include "game/object_helpers.h" +#include "game/level_geo.h" #include "menu/intro_geo.h" // fix warnings when including rendering_graph_node @@ -517,6 +518,7 @@ void network_shutdown(bool sendLeaving, bool exiting, bool popup) { gLightingDir[1] = 0; gLightingDir[2] = 0; gOverrideBackground = -1; + gOverrideEnvFx = -1; gDjuiRenderBehindHud = false; dynos_mod_shutdown(); mods_clear(&gActiveMods);