private void Reset()
        {
            var entManager    = IoCManager.Resolve <IEntityManager>();
            var playerManager = IoCManager.Resolve <IPlayerManager>();
            var player        = playerManager.LocalPlayer?.ControlledEntity;

            var currentMap = MapId.Nullspace;
            var position   = Vector2.Zero;
            var rotation   = Angle.Zero;

            if (entManager.TryGetComponent <TransformComponent>(player, out var xform))
            {
                currentMap = xform.MapID;
                position   = xform.WorldPosition;

                if (entManager.TryGetComponent <TransformComponent>(xform.GridUid, out var gridXform))
                {
                    rotation = gridXform.WorldRotation;
                }
                else
                {
                    // MapId moment
                    rotation = xform.WorldRotation - xform.LocalRotation;
                }
            }

            if (currentMap != MapId.Nullspace)
            {
                MapOptions.Select((int)currentMap);
            }

            XCoordinate.Value = (int)position.X;
            YCoordinate.Value = (int)position.Y;

            RotationSpin.OverrideValue(Wraparound((int)rotation.Degrees));
        }