Compare commits
2 Commits
55aa5eac26
...
369e654772
Author | SHA1 | Date | |
---|---|---|---|
![]() |
369e654772 | ||
![]() |
3d7644dce4 |
@ -297,12 +297,9 @@ export class UserFun {
|
||||
if (val == -1 && !gud.headFrames[conf.id]) {
|
||||
change = true;
|
||||
gud.headFrames[conf.id] = -1;
|
||||
} else if (!gud.headFrames[conf.id] || gud.headFrames[conf.id] < G.time) {
|
||||
} else if (val > 0 && gud.headFrames[conf.id] != -1) {
|
||||
change = true;
|
||||
gud.headFrames[conf.id] = G.time + val * v;
|
||||
} else {
|
||||
change = true;
|
||||
gud.headFrames[conf.id] += val * v;
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -344,12 +341,9 @@ export class UserFun {
|
||||
if (val == -1 && !gud.chatFrames[conf.id]) {
|
||||
change = true;
|
||||
gud.chatFrames[conf.id] = -1;
|
||||
} else if (!gud.chatFrames[conf.id] || gud.chatFrames[conf.id] < G.time) {
|
||||
} else if (val > 0 && gud.chatFrames[conf.id] != -1) {
|
||||
change = true;
|
||||
gud.chatFrames[conf.id] = G.time + val * v;
|
||||
} else {
|
||||
change = true;
|
||||
gud.chatFrames[conf.id] += val * v;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user