Closed Violat0r closed 4 years ago
Might be related, newest connected player is always selected as death as well. I am thinking we might need player is valid somewhere and some recoding of death being selected.
Newest connected player is usually death because the gamemode prioritises death selection based on which players have been death the least. As for triggering the map spawn killer, I'm still not sure why that happens
I think it has to do with the round state. If a player connects when the round is lets say a minute in, it won't trigger. But it does trigger when a new round does begin.
Also might be related to this is when I am messing with the loadout hook, when someone connects, everyone's weapons goes missing. I had to put in player is valid for it to stop doing that.
May or may not be worth mentioning. The maps that have this issue use a trigger hurt that is activated on touch vs maps that don't have this issue use a trigger hurt activated on map spawn.
On a map such as deathrun_family_guy_final2 when a player is connecting/loading in and the round is just starting, it triggers the builtin map spawn killer. This happens on multiple maps and it looks like the player spawns in the game but isn't fully loaded when this happens. It happens during and after pre-round. I have tested this on a vanilla server with no addons or extra lua or changed any files other than setting the gamemode and start map.