For anyone having the same problem, I found my solution. There was nothing wrong with the miner's code, it was the mineshaft code that needed an extra line of code to be able to properly produce units. Here is the tutorial on how to do it:
https://www.the3rdag...tem-548?addview
- Symonius likes this