Reported: A level 50 Bellato character took the HQ teleport to Solus, the death sound played before the loading screen finished, and the character arrived dead and revived at its saved point. It happened once, and not again after a server restart.
Found: The server itself counted this death, so it was not a death the game only showed on screen, and not the landing height raised in our earlier reply. The HQ teleport lands inside the Solus town area, where guard towers, traps, other players and the nuke deal no damage. That leaves a monster.
That led to a defect in our server: during the loading screen after a teleport, a character was already placed on the new map, where monsters could target and hit it. The original server takes a character off the map for the whole loading screen and puts it back when loading finishes.
We cannot confirm that this is what killed your character, because the server did not record which monster made a kill.
Fix: In version 0.6.0, which is being released soon, a character on a teleport's loading screen cannot be targeted or damaged by monsters, guard towers, traps, other players or the nuke, and a monster already chasing that character gives up. The server log now also names the monster whenever one kills a player.
If it happens again on 0.6.0, reply here with the game server's log lines from the teleport to the revive; they will name the monster. If it does not happen again, this report will be closed as resolved when 0.6.0 is released.
Your question about the source code is answered in the staff reply above.