(Bug?) AI units play melee animation from very far away

from experience this is probably something to do with server code cause it doesnt happen in local player