mirror of
https://github.com/OpenFusionProject/OpenFusion.git
synced 2024-11-22 13:30:06 +00:00
Seed the random number generator.
This commit is contained in:
parent
8896a103ba
commit
94ab5b8b64
@ -86,6 +86,7 @@ int main() {
|
|||||||
#else
|
#else
|
||||||
initsignals();
|
initsignals();
|
||||||
#endif
|
#endif
|
||||||
|
srand(getTime());
|
||||||
settings::init();
|
settings::init();
|
||||||
std::cout << "[INFO] OpenFusion v" GIT_VERSION << std::endl;
|
std::cout << "[INFO] OpenFusion v" GIT_VERSION << std::endl;
|
||||||
std::cout << "[INFO] Protocol version: " << PROTOCOL_VERSION << std::endl;
|
std::cout << "[INFO] Protocol version: " << PROTOCOL_VERSION << std::endl;
|
||||||
|
Loading…
Reference in New Issue
Block a user