Bugfixes
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user