aboutsummaryrefslogtreecommitdiff
path: root/Northstar.CustomServers/mod
diff options
context:
space:
mode:
authorBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2022-02-22 14:17:25 +0000
committerBobTheBob <32057864+BobTheBob9@users.noreply.github.com>2022-02-22 14:17:25 +0000
commitec1f1f0bc95ae391736a4ecc6a181f5676d70c97 (patch)
treeb3e0b39914a6994c92b8901593d3674a000148d8 /Northstar.CustomServers/mod
parentea9a2ed9b9698d891769fa8598b8262aad97ed77 (diff)
downloadNorthstarMods-ec1f1f0bc95ae391736a4ecc6a181f5676d70c97.tar.gz
NorthstarMods-ec1f1f0bc95ae391736a4ecc6a181f5676d70c97.zip
fix broken battle chatter check
Diffstat (limited to 'Northstar.CustomServers/mod')
-rw-r--r--Northstar.CustomServers/mod/scripts/vscripts/conversation/_battle_chatter.gnut4
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