It's a bit of a disappointment, but the AI works in a weird way where it goes towards the player but tries to avoid objects in its way like other enemies with some kind of weight system based on distance to objects around it. Was trying to get enemies to not move in such a blocky way. It's not something I've done before and why I tried to do it on a game jam this short I have no idea. So yeah it was a bug, if I continue it I'll probably switch to using A* or something.