fix resource not generated in time

Fixes several games crashing.