mirror of
https://github.com/VickScarlet/lifeRestart.git
synced 2026-03-25 08:34:16 +08:00
bug fix
This commit is contained in:
@@ -445,7 +445,7 @@ class App{
|
|||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|
||||||
get times() {return JSON.parse(localStorage.times||'') || 0;}
|
get times() {return JSON.parse(localStorage.times||'0') || 0;}
|
||||||
set times(v) {localStorage.times = JSON.stringify(parseInt(v) || 0)};
|
set times(v) {localStorage.times = JSON.stringify(parseInt(v) || 0)};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -99,7 +99,7 @@ class Life {
|
|||||||
}
|
}
|
||||||
|
|
||||||
talentRandom() {
|
talentRandom() {
|
||||||
return this.#talent.talentRandom(JSON.parse(localStorage.extendTalent||''));
|
return this.#talent.talentRandom(JSON.parse(localStorage.extendTalent||'null'));
|
||||||
}
|
}
|
||||||
|
|
||||||
talentExtend(talentId) {
|
talentExtend(talentId) {
|
||||||
|
|||||||
Reference in New Issue
Block a user