diff options
author | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2022-02-22 14:17:25 +0000 |
---|---|---|
committer | BobTheBob <32057864+BobTheBob9@users.noreply.github.com> | 2022-02-22 14:17:25 +0000 |
commit | ec1f1f0bc95ae391736a4ecc6a181f5676d70c97 (patch) | |
tree | b3e0b39914a6994c92b8901593d3674a000148d8 /Northstar.CustomServers/mod/scripts/vscripts | |
parent | ea9a2ed9b9698d891769fa8598b8262aad97ed77 (diff) | |
download | NorthstarMods-ec1f1f0bc95ae391736a4ecc6a181f5676d70c97.tar.gz NorthstarMods-ec1f1f0bc95ae391736a4ecc6a181f5676d70c97.zip |
fix broken battle chatter check
Diffstat (limited to 'Northstar.CustomServers/mod/scripts/vscripts')
-rw-r--r-- | Northstar.CustomServers/mod/scripts/vscripts/conversation/_battle_chatter.gnut | 4 |
1 files 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 |