1
0
Переглянути джерело

[fixed] Bug in calculating editing effect on song

Dank 1 рік тому
батько
коміт
bc78f64321
1 змінених файлів з 1 додано та 1 видалено
  1. 1 1
      locations/music_onlinemusic.qsrc

+ 1 - 1
locations/music_onlinemusic.qsrc

@@ -667,7 +667,7 @@ if $ARGS[0] = 'calc_edit_effect':
 	!! Since music skill on its own doesn''t generate much value, high time-investment music editing will radically increase the quality of music - but it must be dependent on the original content.
 	!! Good editing alone can''t make a popular musician (or can it... sigh).
 	if ml_onlinesong_editcount[ARGS[1]] ! 0:
-		result = (ml_onlinesong_editingskill[ARGS[1]] * 3) * (ml_onlinesong_editcount[ARGS[1]] + 1) / (ml_onlinesong_editcount[upload_index] + 3)
+		result = (ml_onlinesong_editingskill[ARGS[1]] * 3) * (ml_onlinesong_editcount[ARGS[1]] + 1) / (ml_onlinesong_editcount[ARGS[1]] + 3)
 	else 
 		result = 0
 	end