[CRITICAL] FortCharacter.EliminatedEvent() subscribe is executed multiple times

Reference ID

bd1fadc7-4c5a-424b-3dd8-ecab98e12337

Please select what you are reporting on:

Verse

What Type of Bug are you experiencing?

Verse

Summary

FortCharacter.EliminatedEvent() subscribe is executed multiple times

Steps to Reproduce

Kill a player

Expected Result

The FortCharacter.EliminatedEvent().Subscribe(OnPlayerEliminated) is executed only one time

Observed Result

On some lobbies, and with a low probability rate (about 5%) the FortCharacter.EliminatedEvent().Subscribe(OnPlayerEliminated) is executed two times

Platform(s)

windows

Island Code

3289-1022-6941

This is some current lines I made to avoid this issue

 if (EliminatingFortCharacter := Eliminator?, EliminatingAgent := EliminatingFortCharacter.GetAgent[]):
                Print("HERE 2")
                #DOUBLE SUBSCRIBER FIXER
                TotalTimeLimit := TotalGameTime - 2
                var LastTick : int = 0
                if(set LastTick = AllMultipleAgentEliminationTick[EliminatingAgent]):
                    Print("HERE 3")
                    Print("LastTick: {LastTick}")
                    Print("LastTick: {TotalTimeLimit}")
                if(LastAgentVictim[EliminatingAgent]<>EliminatedAgent or LastTick < TotalTimeLimit):
                    YOUR CODE HERE (set AllMultipleAgentEliminationTick[Agent] = TotalGameTime)

What it does is that if it detects a elimination with the same victim in a period of less than 2 seconds (normally it is 7 seconds to respawn) it avoids executing the code again.

I would like to know your opinion and if there is anybody else that has the same error. It happens to me on some of my maps for a long time.