File tree Expand file tree Collapse file tree 1 file changed +2
-2
lines changed
Assets/Scripts/GameManager Expand file tree Collapse file tree 1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -113,7 +113,7 @@ private async UniTask<bool> SavePlayerStatistic()
113113 public async UniTask < bool > SaveAchievements ( )
114114 {
115115 List < AchievementData > achievements = DataManager . Instance . GetAchievements ( ) ;
116- string basePath = overworldBackendPath + playersPath + userId + "/achievements/" ;
116+ string basePath = overworldBackendPath + playersPath + userId + coursesPath + courseId + "/achievements/" ;
117117
118118 bool savingSuccessful = true ;
119119 foreach ( AchievementData achievementData in achievements )
@@ -289,7 +289,7 @@ await RestRequest.GetArrayRequest<PlayerTaskStatisticDTO>(path +
289289 string playerPath = overworldBackendPath + playersPath + userId ;
290290
291291 Optional < AchievementStatistic [ ] > achievementStatistics =
292- await RestRequest . GetArrayRequest < AchievementStatistic > ( playerPath + "/achievements" ) ;
292+ await RestRequest . GetArrayRequest < AchievementStatistic > ( playerPath + coursesPath + courseId + "/achievements" ) ;
293293 if ( ! achievementStatistics . IsPresent ( ) )
294294 {
295295 loadingError = true ;
You can’t perform that action at this time.
0 commit comments