Found a solution.
I did use replace unit action, but replacing a mineralfield without changing its type wont reset the count somehow. I had to replace it with a rich mineralfield first, then replace back.
Thank you Siretu!
Hi guys! Currently i'm working on a training map, which i hope to reset every mineral and gas mines (1500 minerals per field and 2500 gas per geyser) when i give the order. I can esaily reset other things like units and buildings, but i don't know how to deal with these mines.
Please help : )