AdminBug reports 23Suggestions 4Exploits 0
Found it, fixed it, pushed it. You were right that it still happens — and I was looking in completely the wrong place.
The corpse itself really was protected; that's why I couldn't find anything. The hole was in the REVIVE. When you pressed OK, we marked you alive and healed you to 50 HP immediately, and only THEN started loading the town to warp you to — which takes a moment, longer if you've never visited it. For that entire window you were standing alive, damageable, with no invulnerability, on the exact tile you died on, with the monster that killed you still standing on top of you. It hit you, and the whole death sequence ran again — second tomb, second prompt, second EXP penalty — while the first warp was still loading underneath it. That matches your description exactly, including the animation replaying.
The reference server does it the other way round: it warps you first and heals you second, and there's a comment in its source noting this exact bug. We now do the same — nothing marks you alive until the destination map is actually up — plus three extra guards so no damage path can reach a dead player.
To re-test: die somewhere with monsters standing right on you and press OK. You should warp out cleanly with no second death.