Skip to content

Commit

Permalink
runtime crash fix
Browse files Browse the repository at this point in the history
  • Loading branch information
EliphasNUIT committed Nov 22, 2024
1 parent fe6a990 commit c5e0e44
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion GW2EIEvtcParser/EncounterLogic/Raids/W7/Adina.cs
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ internal override void EIEvtcParse(ulong gw2Build, EvtcVersionEvent evtcVersion,
return targetables.Any(y => y.Targetable);
}
return false;
});
}).ToList();
long final = fightData.FightEnd;
var handOfEruptionPositions = new Vector2[] { new(15570.5f, -693.117f), new(14277.2f, -2202.52f) }; // gadget locations
var processedAttackTargets = new HashSet<AgentItem>();
Expand Down
2 changes: 1 addition & 1 deletion GW2EIEvtcParser/ParserHelpers/ParserHelper.cs
Original file line number Diff line number Diff line change
Expand Up @@ -323,7 +323,7 @@ internal static void RedirectEventsAndCopyPreviousStates(List<CombatItem> combat
}
// Copy attack targets
var attackTargetAgents = new HashSet<AgentItem>();
var attackTargets = combatData.Where(x => x.IsStateChange == StateChange.AttackTarget && x.DstMatchesAgent(redirectFrom));
var attackTargets = combatData.Where(x => x.IsStateChange == StateChange.AttackTarget && x.DstMatchesAgent(redirectFrom)).ToList() ;
var targetableOns = combatData.Where(x => x.IsStateChange == StateChange.Targetable && x.DstAgent == 1);
foreach (CombatItem c in attackTargets)
{
Expand Down

0 comments on commit c5e0e44

Please sign in to comment.