From fd6dd9bd2c97f1ad6616e811742ae73843c16bda Mon Sep 17 00:00:00 2001 From: Agent X <44549182+Agent-11@users.noreply.github.com> Date: Thu, 7 Mar 2024 16:47:16 -0500 Subject: [PATCH] Fix bouncy level bounds & nametags still showing up on coop compatibility mode (again) --- 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 4f7d83b1..4d8ef2d7 100644 --- a/src/pc/network/network.c +++ b/src/pc/network/network.c @@ -116,7 +116,7 @@ bool network_init(enum NetworkType inNetworkType, bool reconnecting) { // set server settings gServerSettings.playerInteractions = configPlayerInteraction; - gServerSettings.bouncyLevelBounds = configBouncyLevelBounds; + gServerSettings.bouncyLevelBounds = configCoopCompatibility ? 0 : configBouncyLevelBounds; gServerSettings.playerKnockbackStrength = configPlayerKnockbackStrength; gServerSettings.stayInLevelAfterStar = configStayInLevelAfterStar; gServerSettings.skipIntro = configSkipIntro; @@ -124,7 +124,7 @@ bool network_init(enum NetworkType inNetworkType, bool reconnecting) { gServerSettings.bubbleDeath = configBubbleDeath; gServerSettings.enablePlayersInLevelDisplay = TRUE; gServerSettings.enablePlayerList = TRUE; - gServerSettings.nametags = configNametags; + gServerSettings.nametags = configCoopCompatibility ? FALSE : configNametags; gServerSettings.maxPlayers = configAmountofPlayers; #if defined(RAPI_DUMMY) || defined(WAPI_DUMMY) gServerSettings.headlessServer = (inNetworkType == NT_SERVER);