This repository was archived by the owner on Oct 24, 2021. It is now read-only.
File tree Expand file tree Collapse file tree 4 files changed +7
-7
lines changed
.vs/ValorantStreamOverlay/v16 Expand file tree Collapse file tree 4 files changed +7
-7
lines changed Original file line number Diff line number Diff line change @@ -145,11 +145,11 @@ async Task UpdateToLatestGames()
145145 foreach ( var game in matches )
146146 {
147147
148- if ( game [ "CompetitiveMovement " ] == "MOVEMENT_UNKNOWN" )
148+ if ( game [ "TierAfterUpdate " ] == 0 )
149149 {
150- // not a ranked game
150+ // riot said fuck off to this one i guess LMAO
151151 }
152- else if ( game [ "CompetitiveMovement " ] == "PROMOTED" )
152+ else if ( game [ "TierAfterUpdate " ] > game [ "TierBeforeUpdate" ] ) // Promoted meaning, that afterupdate is more than beforeupdate
153153 {
154154 // player promoted
155155 int before = game [ "RankedRatingBeforeUpdate" ] ;
@@ -158,7 +158,7 @@ async Task UpdateToLatestGames()
158158 points [ i ++ ] = differ ;
159159 count ++ ;
160160 }
161- else if ( game [ "CompetitiveMovement " ] == "DEMOTED" )
161+ else if ( game [ "TierAfterUpdate " ] < game [ "TierBeforeUpdate" ] )
162162 {
163163 // player demoted
164164 int before = game [ "RankedRatingBeforeUpdate" ] ;
Original file line number Diff line number Diff line change @@ -51,7 +51,7 @@ private async Task<int> UPDATECompRankAsync()
5151
5252 foreach ( var game in matches )
5353 {
54- if ( game [ "CompetitiveMovement " ] != "MOVEMENT_UNKNOWN" )
54+ if ( game [ "RankedRatingAfterUpdate " ] != 0 )
5555 {
5656 currentRP = game [ "RankedRatingAfterUpdate" ] ;
5757 return game [ "TierAfterUpdate" ] ;
Original file line number Diff line number Diff line change 55 <TargetFramework >netcoreapp3.1</TargetFramework >
66 <UseWindowsForms >true</UseWindowsForms >
77 <ApplicationIcon >icon.ico</ApplicationIcon >
8- <Version >2.0.0.0 </Version >
8+ <Version >2.0.0.1 </Version >
99 <Company >RumbleMike</Company >
1010 <Description >C# Program that offers an overlay for content creators.</Description >
1111 <Copyright />
1212 <PackageIcon >icon.png</PackageIcon >
1313 <RepositoryUrl >https://github.com/RumbleMike/ValorantStreamOverlay</RepositoryUrl >
1414 <PackageReleaseNotes >https://github.com/RumbleMike/ValorantStreamOverlay/releases/latest</PackageReleaseNotes >
15- <AssemblyVersion >2.0.0.0 </AssemblyVersion >
15+ <AssemblyVersion >2.0.0.1 </AssemblyVersion >
1616 <FileVersion >2.0.0.0</FileVersion >
1717 <SignAssembly >false</SignAssembly >
1818 <AssemblyOriginatorKeyFile >test.snk</AssemblyOriginatorKeyFile >
You can’t perform that action at this time.
0 commit comments