1
0
Преглед на файлове

[fixed] Bug in calculating editing effect on song

Dank преди 8 месеца
родител
ревизия
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