mirror of
https://github.com/wabbajack-tools/wabbajack.git
synced 2024-08-30 18:42:17 +00:00
Using Rx to reset GameType
This commit is contained in:
parent
5e5c1bb384
commit
d588619ed5
@ -82,6 +82,15 @@ namespace Wabbajack
|
|||||||
GameType = ALL_GAME_TYPE;
|
GameType = ALL_GAME_TYPE;
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
||||||
|
this.WhenAny(x => x.OnlyInstalled)
|
||||||
|
.Subscribe(val =>
|
||||||
|
{
|
||||||
|
if(val)
|
||||||
|
GameType = ALL_GAME_TYPE;
|
||||||
|
})
|
||||||
|
.DisposeWith(CompositeDisposable);
|
||||||
|
|
||||||
var random = new Random();
|
var random = new Random();
|
||||||
var sourceList = Observable.Return(Unit.Default)
|
var sourceList = Observable.Return(Unit.Default)
|
||||||
.ObserveOn(RxApp.TaskpoolScheduler)
|
.ObserveOn(RxApp.TaskpoolScheduler)
|
||||||
|
Loading…
Reference in New Issue
Block a user