opt: optimize client live check

This commit is contained in:
DreamMaoMao 2025-11-02 12:04:15 +08:00
parent 844b6e049f
commit 5d819aed83

View file

@ -742,6 +742,9 @@ void client_commit(Client *c) {
void client_set_pending_state(Client *c) {
if (!c || c->iskilling)
return;
// 判断是否需要动画
if (!animations) {
c->animation.should_animate = false;