This commit is contained in:
2016-01-21 21:43:23 +01:00
parent 8ceb630bc2
commit a7b05df42e
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -96,7 +96,8 @@ namespace YJMPD_UWP.Model
App.Game.StopMatch();
break;
case Command.StopGame:
App.Game.StopGame();
if(App.Game.Status != GameHandler.GameStatus.STOPPED)
App.Game.StopGame();
break;
default:
//Do nothing
+1 -1
View File
@@ -27,7 +27,7 @@ namespace YJMPD_UWP.ViewModels
{
dispatcher.RunAsync(Windows.UI.Core.CoreDispatcherPriority.Normal, () =>
{
if (e.Status == Model.PhotoHandler.PhotoStatus.NOPHOTO)
if (e.Status == Model.PhotoHandler.PhotoStatus.NOPHOTO && App.Game.Status == Model.GameHandler.GameStatus.WAITING)
timer.Start();
else
{