From ec1f1f0bc95ae391736a4ecc6a181f5676d70c97 Mon Sep 17 00:00:00 2001 From: BobTheBob <32057864+BobTheBob9@users.noreply.github.com> Date: Tue, 22 Feb 2022 14:17:25 +0000 Subject: fix broken battle chatter check --- .../mod/scripts/vscripts/conversation/_battle_chatter.gnut | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Northstar.CustomServers/mod/scripts/vscripts/conversation/_battle_chatter.gnut b/Northstar.CustomServers/mod/scripts/vscripts/conversation/_battle_chatter.gnut index a239fa8b..842c7f61 100644 --- a/Northstar.CustomServers/mod/scripts/vscripts/conversation/_battle_chatter.gnut +++ b/Northstar.CustomServers/mod/scripts/vscripts/conversation/_battle_chatter.gnut @@ -11,7 +11,7 @@ void function PlayBattleChatterLine( entity player, string conversationType ) { int conversationIndex = GetConversationIndex( conversationType ) - foreach( entity otherPlayer in foreach( entity otherPlayer in GetPlayerArrayOfTeam( player.GetTeam() ) ) ) + foreach( entity otherPlayer in GetPlayerArrayOfTeam( player.GetTeam() ) ) if ( ShouldPlayBattleChatter( conversationType, otherPlayer, player ) && player != otherPlayer ) Remote_CallFunction_Replay( otherPlayer, "ServerCallback_PlayBattleChatter", conversationIndex, player.GetEncodedEHandle() ) } @@ -42,4 +42,4 @@ void function UpdatePlayerVoiceIndex( entity player, PilotLoadoutDef voiceIndex else player.SetPlayerNetInt( "battleChatterVoiceIndex", SelectRandomMaleBattleChatterVoice() ) } -} +} \ No newline at end of file -- cgit v1.2.3