Closed Lyricalpanda closed 5 months ago
Use guarding for c# dictionary
convo: https://discord.com/channels/548643730714918913/1024676514119290901/1197091919021490287
I'm not exactly sure what the true fix is here, but this can at least prevent crashing if we're being given buff lists with duplicate keys. It's essentially just a dumb reduce that'll condense duplicates and use the Max of durations as the value.
Use guarding for c# dictionary
convo: https://discord.com/channels/548643730714918913/1024676514119290901/1197091919021490287
I'm not exactly sure what the true fix is here, but this can at least prevent crashing if we're being given buff lists with duplicate keys. It's essentially just a dumb reduce that'll condense duplicates and use the Max of durations as the value.