Hello, I am using this code to try to revive a player if their custom player class has instant revive turned on. This code prints SelfRevive but the down and out device does not revive the player.
However, when I take the Reviver.Revive() out of the if statement and pass it the same Agent reference, the player does get revived.
I’ve never experienced something like this but am new to Verse so maybe I have some sort of syntax error here? The if statement is successful so I know the .Revive() is running, the only idea I have is that the Agent reference somehow does not reach into the nested statement? Any help would be greatly appreciated