File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -288,13 +288,10 @@ export class Match {
288288 if ( this . isRegistered ) {
289289 DatabaseConnector . completeMatch ( this ) ;
290290
291- // Supporter Early Access, will be public in future
292- if ( this . orgIsSupporter ) {
293- // Wait 5 seconds to ensure API is ready
294- setTimeout ( ( ) => {
295- DatabaseConnector . statsFetchStats ( this . matchId ) ;
296- } , 15000 ) ;
297- }
291+ // Wait 15 seconds to ensure API is ready
292+ setTimeout ( ( ) => {
293+ DatabaseConnector . statsFetchStats ( this . matchId ) ;
294+ } , 15000 ) ;
298295 }
299296
300297 return ;
@@ -310,14 +307,11 @@ export class Match {
310307 await DatabaseConnector . registerMatch ( this ) ;
311308 this . isRegistered = true ;
312309
313- // Supporter Early Access, will be public in future
314- if ( this . orgIsSupporter ) {
315- await DatabaseConnector . statsAddMatch ( this . groupCode , this . matchId ) ;
316- await DatabaseConnector . statsUpdateMatchRegion (
317- this . matchId ,
318- this . teams [ 0 ] . getFirstPlayerId ( ) ,
319- ) ;
320- }
310+ await DatabaseConnector . statsAddMatch ( this . groupCode , this . matchId ) ;
311+ await DatabaseConnector . statsUpdateMatchRegion (
312+ this . matchId ,
313+ this . teams [ 0 ] . getFirstPlayerId ( ) ,
314+ ) ;
321315 }
322316
323317 break ;
You can’t perform that action at this time.
0 commit comments