Browse Source

[fixed] Typo in array varriable name ml_onlinesong_freshness

Dank 8 months ago
parent
commit
c1b6fa1151
2 changed files with 2 additions and 2 deletions
  1. 1 1
      locations/cikl.qsrc
  2. 1 1
      locations/music_onlinemusic.qsrc

+ 1 - 1
locations/cikl.qsrc

@@ -1167,7 +1167,7 @@ if ml_onlinesongcount > 0:
 !!      this so every song counts only every 7 days and only for a limited number of weeks 
 		if ml_onlinesong_freshness[i] > 0:		
 			j += 1
-			ml_tempsong_freshness[j] = ml_onlinesong_sfreshness[i]
+			ml_tempsong_freshness[j] = ml_onlinesong_freshness[i]
 			ml_tempsong_lastcalcday[j] = ml_onlinesong_lastcalcday[i]
 			ml_tempsong_hotcat[j] = ml_onlinesong_hotcat[i]
 			ml_tempsong_skilllevel[j] = ml_onlinesong_skilllevel[i]

+ 1 - 1
locations/music_onlinemusic.qsrc

@@ -238,7 +238,7 @@ if $ARGS[0] = 'deleting':
 	:deletemusic
 		if (ml_onlinesong_uploaded = 1) or (ml_onlinesong_uploaded = 0 and ml_onlinesong_skilllevel > ml_threshold_skilllevel):
 			j += 1
-			ml_tempsong_freshness[j] = ml_onlinesong_sfreshness[i]
+			ml_tempsong_freshness[j] = ml_onlinesong_freshness[i]
 			ml_tempsong_lastcalcday[j] = ml_onlinesong_lastcalcday[i]
 			ml_tempsong_hotcat[j] = ml_onlinesong_hotcat[i]
 			ml_tempsong_skilllevel[j] = ml_onlinesong_skilllevel[i]