etlegacy icon indicating copy to clipboard operation
etlegacy copied to clipboard

Game does not remember last person you spectated when you die

Open x0rnn opened this issue 1 year ago • 3 comments

When you die and follow a certain player while waiting for respawn, it should remember that player the next time you die and automatically follow him if he is alive, but it doesn't.

x0rnn avatar Nov 08 '23 09:11 x0rnn

"IIRC it is basically vanilla code, who you spectate is saved into spectatorClient and when that person dies it is overwritten when it switches to someone else. I think new field is necessary just to store the client you want to spectate, at least that was my conclusion when I looked at it back then, maybe there is better way or I remember wrong.

Just a thought, maybe it could be possible (and simpler) to just check if the person we currently follow is dead, and instead update it to whoever that person is following (instead of overwriting spectatorClient), but it could get ugly I guess." - ryzyk_krzysiek

x0rnn avatar Jan 28 '24 15:01 x0rnn