fixed bug where players didn't get resources