I saw this before but thought it was fixed, my bad.
Overheating a ship will not disable its AI if it had that enabled. This makes pirates still try to move and shoot at you (if they are still capable).
Unfortunately this brings another issue with it, you cannot salvage an overheating ship because its AI is still enabled.
How to reproduce:
- spawn a shipcore
- enable AI for it (target it, press L and put it on active | use /start_ship_ai -1 when it's targeted)
- destroy/overheat it
- you'll notice its AI is still enabled (target it, press L to check), this also prevents you from salvaging it till the AI is disabled manually.