fly: unbind the ship you leave, so its death is no longer yours

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
soul 2026-10-29 10:29:13 +01:00
commit 36d9d94e81

View file

@ -601,6 +601,7 @@ public class ActionGameManager : MonoBehaviour
ship.Position.xz = _currentEntity.Position.xz + _currentEntity.Direction.Rotate(ItemRotation.Clockwise) * 30;
ship.Velocity = _currentEntity.Velocity;
Zone.Admit(ship, piloted: false);
UnbindEntity(); // or the ship you leave still owns your death
BindToEntity(ship);
});
//Temporary, or not