瀏覽代碼

[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