feature: add death teleport (back to death location#1378
feature: add death teleport (back to death location#1378ChudziudgiToJa wants to merge 2 commits into
Conversation
There was a problem hiding this comment.
Code Review
This pull request introduces a new "Death Teleport" feature that automatically teleports players back to their last death location after respawning, complete with configuration settings, database persistence for user toggle states, localization support, and unit tests. The review feedback highlights two important concurrency and safety improvements: addressing a potential race condition in the teleport controller during rapid consecutive deaths (along with checking if the player is still online after asynchronous state retrieval), and safely removing cached toggle states in the service implementation only if they match the failed state to prevent overwriting newer concurrent updates.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
Closes #1333