Called to determine a spawn point for a player to spawn at.
1 Player ply
The player who needs a spawn point
2 boolean transition
If true, the player just spawned from a map transition (
trigger_changelevel). You probably want to not return an entity for that case to not override player's position.
The spawnpoint entity to spawn the player at