Added std::srand() in Assets::loadResources().