This commit is contained in:
aozhiwei 2023-01-03 15:30:25 +08:00
parent d66164da6b
commit e168aa7e93

View File

@ -87,9 +87,11 @@ void SprintBuff::CoCollisionCheck()
[this, hited_objects, pre_pos] [this, hited_objects, pre_pos]
(int event, const a8::Args* args) mutable (int event, const a8::Args* args) mutable
{ {
if (a8::TIMER_EXEC_EVENT == event) {
if (!meta->_param3_int_list.empty() || skill_meta) { if (!meta->_param3_int_list.empty() || skill_meta) {
Check(pre_pos, hited_objects); Check(pre_pos, hited_objects);
} }
}
}, },
&xtimer_attacher); &xtimer_attacher);
} }