So, I'm making a game which is a platformer and there are spikes the player takes damage for falling on, but in some places there are big rows of the spike sprite, and if the player falls touching two at a time, then they take 2x damage because the action is executed twice at the exact same time. I have a system where when the player gets damaged, they have invincibility frames, but this still happens because both spikes are hit precisely simultaneously. How should I go about solving this?
Edit: I was being dumb and had a wait action before setting the timer for invincibility because reasons.