From ecc72d09742715eeeb3b0157cfbd8c11984d8abc Mon Sep 17 00:00:00 2001 From: MysterD Date: Sat, 4 Jun 2022 18:46:44 -0700 Subject: [PATCH] Prevent crashing on level change --- src/pc/network/network.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/pc/network/network.c b/src/pc/network/network.c index 83b3a120..563a326c 100644 --- a/src/pc/network/network.c +++ b/src/pc/network/network.c @@ -429,7 +429,7 @@ void network_update(void) { } // update level/area request timers - struct NetworkPlayer* np = gNetworkPlayerLocal; + /*struct NetworkPlayer* np = gNetworkPlayerLocal; if (np != NULL && !np->currLevelSyncValid) { gNetworkRequestLocationTimer++; if (gNetworkRequestLocationTimer > 30 * 10) { @@ -452,7 +452,7 @@ void network_update(void) { network_send_level_request(np, npAny); } } - } + }*/ }