Skip to content

Commit

Permalink
微修正。
Browse files Browse the repository at this point in the history
  • Loading branch information
Nanasu committed May 24, 2024
2 parents 1455ecf + 00d8bac commit 968c71c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/app/component/chat-input/chat-input.component.ts
Original file line number Diff line number Diff line change
Expand Up @@ -580,7 +580,7 @@ export class ChatInputComponent implements OnInit, OnDestroy {
if (rollResult.isDiceRollTable) {
loggingText += ` (${rollResult.tableName}${rollResult.isEmptyDice ? '' : '🎲'}${rollResult.result.split(/\s>\s/)[0]})`;
} else {
loggingText += ` (${ rollResult.result.split(/\s>\s/g).map((str, j) => (j == 0 ? (rollResult.isEmptyDice ? '' : '🎲' + gameType + ':' + str.replace(/^c?\(/i, '').replace(/\)$/, '')) : str)).join(' → ') })`;
loggingText += ` (${ rollResult.result.split(/\s>\s/g).map((str, j) => (j == 0 ? (rollResult.isEmptyDice ? '計算結果' : '🎲' + gameType + ':' + str.replace(/^c?\(/i, '').replace(/\)$/, '')) : str)).join(' → ') })`;
}
if (!rollResult.isEmptyDice) isDiceRoll = true;
}
Expand Down

0 comments on commit 968c71c

Please sign in to comment.