エラー対策

This commit is contained in:
kimura 2022-07-28 11:34:48 +09:00
parent 64a109da48
commit 98ce98d119
1 changed files with 1 additions and 1 deletions

View File

@ -302,7 +302,7 @@ namespace MyGame.Scenes.MiniGame.Scripts
resultManager.Reset();
gameCompositeDisposable.Clear();
state.SkipLatestValueOnSubscribe()
.First(x => x == GameState.Success)
.FirstOrDefault(x => x == GameState.Success)
.SelectMany(Observable.Timer(TimeSpan.FromSeconds(resultWaitTime)))
.Subscribe(x =>
{