From 49791ea2edeb7192ef1d4d4659c485040b8da776 Mon Sep 17 00:00:00 2001 From: William Miller Date: Wed, 27 Nov 2024 06:56:21 -0300 Subject: [PATCH] Fix Thunderbolt crashing clients when owner is invalid (#906) Hacky fix that adds an extra check if the weapon in question is a thunderbolt --- .../mod/scripts/vscripts/client/cl_damage_indicator.gnut | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 4857c109d..421bd097d 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