chore(network): Remove redundant ShouldUpload check

This commit is contained in:
karashiiro 2023-02-15 22:48:46 -08:00
parent 0f3a63420b
commit 6c8ed5c8d4

View file

@ -329,8 +329,8 @@ internal class NetworkHandlers : IDisposable, IServiceType
private IDisposable HandleMarketBoardPurchaseHandler() private IDisposable HandleMarketBoardPurchaseHandler()
{ {
return this.OnMarketBoardPurchaseHandler() return this.OnMarketBoardPurchaseHandler()
.Zip(this.OnMarketBoardPurchase())
.Where(this.ShouldUpload) .Where(this.ShouldUpload)
.Zip(this.OnMarketBoardPurchase().Where(this.ShouldUpload))
.Subscribe( .Subscribe(
data => data =>
{ {