Bugfixes
This commit is contained in:
@@ -218,6 +218,8 @@ namespace YJMPD_UWP.Model
|
||||
|
||||
GeofenceMonitor.Current.Geofences.Clear();
|
||||
Selected = false;
|
||||
App.Photo.Reset();
|
||||
Destination = new BasicGeoposition() { Altitude = -1 };
|
||||
|
||||
App.Navigate(typeof(ScoreView));
|
||||
UpdateGameStatus(GameStatus.ENDED);
|
||||
|
||||
@@ -29,7 +29,7 @@ namespace YJMPD_UWP.ViewModels
|
||||
if (App.Game.Status != Model.GameHandler.GameStatus.STARTED)
|
||||
return;
|
||||
|
||||
Degrees = (int)(angle + -e.Heading.HeadingMagneticNorth);
|
||||
Degrees = (int)(angle + -e.Heading.HeadingTrueNorth);
|
||||
NotifyPropertyChanged(nameof(Degrees));
|
||||
});
|
||||
}
|
||||
|
||||
@@ -31,7 +31,6 @@ namespace YJMPD_UWP.ViewModels
|
||||
timer.Start();
|
||||
else
|
||||
{
|
||||
secondsleft = 60;
|
||||
timer.Stop();
|
||||
}
|
||||
});
|
||||
@@ -41,6 +40,8 @@ namespace YJMPD_UWP.ViewModels
|
||||
{
|
||||
NotifyPropertyChanged(nameof(TimeOut));
|
||||
|
||||
Debug.WriteLine("Testing");
|
||||
|
||||
secondsleft--;
|
||||
if(secondsleft <= 0)
|
||||
{
|
||||
|
||||
@@ -28,11 +28,6 @@ namespace YJMPD_UWP.Views
|
||||
ReadyButton.IsEnabled = false;
|
||||
|
||||
App.Api.Ready();
|
||||
|
||||
await Task.Delay(TimeSpan.FromMilliseconds(500));
|
||||
|
||||
App.Game.MoveToWaiting();
|
||||
App.Navigate(typeof(WaitingView), "Waiting on other players...");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user