Seed the random number generator.

This commit is contained in:
dongresource 2020-09-22 20:32:40 +02:00
parent 8896a103ba
commit 94ab5b8b64

View File

@ -86,6 +86,7 @@ int main() {
#else
initsignals();
#endif
srand(getTime());
settings::init();
std::cout << "[INFO] OpenFusion v" GIT_VERSION << std::endl;
std::cout << "[INFO] Protocol version: " << PROTOCOL_VERSION << std::endl;