mirror of
https://github.com/unanmed/HumanBreak.git
synced 2025-10-14 23:52:59 +08:00
fix: 难度对象索引错误
This commit is contained in:
parent
ed4db82511
commit
2110071b84
@ -209,7 +209,7 @@ export const GameTitle = defineComponent<GameTitleProps>(props => {
|
|||||||
toggleHard();
|
toggleHard();
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
const item = hard[code];
|
const item = hard.find(v => v.code === code)!;
|
||||||
startGame(item.name);
|
startGame(item.name);
|
||||||
} else {
|
} else {
|
||||||
switch (code) {
|
switch (code) {
|
||||||
|
Loading…
Reference in New Issue
Block a user