diff options
author | William Miller <william-millennium@hotmail.com> | 2024-11-27 06:56:21 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-11-27 10:56:21 +0100 |
commit | 49791ea2edeb7192ef1d4d4659c485040b8da776 (patch) | |
tree | bad9485e9988feca1ba2400e258b0bf382cc049b /Northstar.Client/mod/scripts/vscripts | |
parent | a422da8a5f0f4f652be5f5c6f12fa61dab2333eb (diff) | |
download | NorthstarMods-49791ea2edeb7192ef1d4d4659c485040b8da776.tar.gz NorthstarMods-49791ea2edeb7192ef1d4d4659c485040b8da776.zip |
Fix Thunderbolt crashing clients when owner is invalid (#906)
Hacky fix that adds an extra check if the weapon in question is a thunderbolt
Diffstat (limited to 'Northstar.Client/mod/scripts/vscripts')
-rw-r--r-- | Northstar.Client/mod/scripts/vscripts/client/cl_damage_indicator.gnut | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Northstar.Client/mod/scripts/vscripts/client/cl_damage_indicator.gnut b/Northstar.Client/mod/scripts/vscripts/client/cl_damage_indicator.gnut index 4857c109..421bd097 100644 --- a/Northstar.Client/mod/scripts/vscripts/client/cl_damage_indicator.gnut +++ b/Northstar.Client/mod/scripts/vscripts/client/cl_damage_indicator.gnut @@ -366,7 +366,7 @@ void function DamageIndicators( DamageHistoryStruct damageHistory, bool playerIs cockpit.AddToTitanHudDamageHistory( COCKPIT_PANEL_LEFT, damageHistory.damage ) } - if ( damageHistory.attacker && damageHistory.attacker.GetParent() == localViewPlayer ) + if ( damageHistory.damageSourceId != eDamageSourceId.mp_weapon_arc_launcher && damageHistory.attacker && damageHistory.attacker.GetParent() == localViewPlayer ) { damageHistory.rodeoDamage = true return |