diff options
author | Connie Price <contact@connieprice.co.uk> | 2022-02-11 23:36:05 +0000 |
---|---|---|
committer | Barichello <artur@barichello.me> | 2022-02-12 13:47:56 -0300 |
commit | 537a14a7e0e34feba48d31c654a51c4eb8f52a6f (patch) | |
tree | 9dec8180c3a26d9fcc0352b8b0297aa8d38c48a8 | |
parent | 2e502a90049cca2ecf4c49d6167f3cfc31ff7584 (diff) | |
download | NorthstarMods-537a14a7e0e34feba48d31c654a51c4eb8f52a6f.tar.gz NorthstarMods-537a14a7e0e34feba48d31c654a51c4eb8f52a6f.zip |
Quick GunGame Assist Fixv1.5.0-rc3
-rw-r--r-- | Northstar.Custom/mod/scripts/vscripts/gamemodes/_gamemode_gg.gnut | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Northstar.Custom/mod/scripts/vscripts/gamemodes/_gamemode_gg.gnut b/Northstar.Custom/mod/scripts/vscripts/gamemodes/_gamemode_gg.gnut index 14f5f15d..4d3d6612 100644 --- a/Northstar.Custom/mod/scripts/vscripts/gamemodes/_gamemode_gg.gnut +++ b/Northstar.Custom/mod/scripts/vscripts/gamemodes/_gamemode_gg.gnut @@ -81,7 +81,7 @@ void function OnPlayerKilled( entity victim, entity attacker, var damageInfo ) table<int, bool> alreadyAssisted foreach( DamageHistoryStruct attackerInfo in victim.e.recentDamageHistory ) { - if( attackerInfo.attacker != attacker && !alreadyAssisted[attackerInfo.attacker.GetEncodedEHandle()] ) + if( attackerInfo.attacker != attacker && !( attackerInfo.attacker.GetEncodedEHandle() in alreadyAssisted ) ) { if ( attackerInfo.damageSourceId != eDamageSourceId.melee_pilot_emptyhanded ) { alreadyAssisted[attackerInfo.attacker.GetEncodedEHandle()] <- true @@ -163,4 +163,4 @@ void function OnWinnerDetermined() { SetRespawnsEnabled( false ) SetKillcamsEnabled( false ) -}
\ No newline at end of file +} |