Skip to content

Commit

Permalink
空の矢印データを含む譜面にS-Ranをかけるとフルコン演出が通常より早く出てしまう問題の修正
Browse files Browse the repository at this point in the history
  • Loading branch information
suzme committed Apr 6, 2021
1 parent f846e08 commit 592d731
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion js/danoni_main.js
Expand Up @@ -6127,11 +6127,12 @@ function scoreConvert(_dosObj, _scoreId, _preblankFrame, _dummyNo = ``,
function storeArrowData(_data) {
let arrowData = [];

if (_data !== undefined) {
if (_data !== undefined && _data !== ``) {
const tmpData = splitLF(_data).join(``);
if (tmpData !== undefined) {
arrowData = tmpData.split(`,`);
if (isNaN(parseFloat(arrowData[0]))) {
return []
} else {
arrowData = arrowData.map(data => calcFrame(data));
}
Expand Down

0 comments on commit 592d731

Please sign in to comment.