Tsuey / L4D2-Community-Update

Help us shape the potential future of L4D2 vanilla.
70 stars 23 forks source link

Fast death by the infected doesn't cause a transition to SUSTAIN_PEAK #348

Open alexiscoutinho opened 1 year ago

alexiscoutinho commented 1 year ago

Description

Although incapacitation by the infected causes the transition to SUSTAIN_PEAK (by maxing out the survivor intensity), a fast or instant death (by a Witch in Expert, for example) does not, which is not logical. I haven't tested if the survivor intensity is actually maxed out by death but isn't checked by the Director because it all happens in 1 tick, or if the intensity isn't updated at all. Regardless, even if reading the survivor intensity isn't reliable by design, there should at least be a hardcoded action/check to force the transition in such death cases.