Server - move srand to main

This commit is contained in:
tovjemam 2026-05-25 12:52:36 +02:00
parent 7ea00e2ed4
commit 2d3f36594f
2 changed files with 2 additions and 2 deletions

View File

@ -5,6 +5,8 @@
int main()
{
srand(time(NULL));
try
{
sv::Server server(11200);

View File

@ -17,8 +17,6 @@ void sv::Server::Run()
{
using namespace std::chrono_literals;
srand(time(NULL));
auto t_start = std::chrono::steady_clock::now();
auto t_next = t_start;
auto t_prev = t_start;