Bugfixes
This commit is contained in:
@@ -96,7 +96,8 @@ namespace YJMPD_UWP.Model
|
|||||||
App.Game.StopMatch();
|
App.Game.StopMatch();
|
||||||
break;
|
break;
|
||||||
case Command.StopGame:
|
case Command.StopGame:
|
||||||
App.Game.StopGame();
|
if(App.Game.Status != GameHandler.GameStatus.STOPPED)
|
||||||
|
App.Game.StopGame();
|
||||||
break;
|
break;
|
||||||
default:
|
default:
|
||||||
//Do nothing
|
//Do nothing
|
||||||
|
|||||||
@@ -27,7 +27,7 @@ namespace YJMPD_UWP.ViewModels
|
|||||||
{
|
{
|
||||||
dispatcher.RunAsync(Windows.UI.Core.CoreDispatcherPriority.Normal, () =>
|
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();
|
timer.Start();
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user