mirror of
https://github.com/yoimiya-kokomi/miao-plugin.git
synced 2024-11-16 04:35:42 +00:00
update models/Character.js.
修复#日历 不显示角色生日和当日可刷天赋 Signed-off-by: wxq-597 <7875126+wxq-597@user.noreply.gitee.com>
This commit is contained in:
parent
55e04133d5
commit
ac2ec47861
@ -189,7 +189,7 @@ class Character extends Base {
|
||||
static forEach (fn, type = 'all', game = 'gs') {
|
||||
lodash.forEach(idMap, (name, id) => {
|
||||
let char = Character.get({ id, name })
|
||||
if (char.game !== 'game') {
|
||||
if (char.game !== 'gs') {
|
||||
return true
|
||||
}
|
||||
if (type === 'release' && !char.isRelease) {
|
||||
|
Loading…
Reference in New Issue
Block a user