Skip to content

Commit

Permalink
wip
Browse files Browse the repository at this point in the history
  • Loading branch information
proller committed Oct 18, 2024
1 parent 6068e51 commit d4b54b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/client/client.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -431,7 +431,7 @@ void Client::connect(Address address, bool is_local_server)

void Client::step(float dtime)
{
m_uptime += dtime;
m_uptime = m_uptime + dtime;

// Limit a bit
if (dtime > 2.0)
Expand Down
2 changes: 1 addition & 1 deletion src/client/clientlauncher.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -577,7 +577,7 @@ void ClientLauncher::after_main_menu(std::function<void(bool)> resolve) {
errorstream << error_message << std::endl;

#ifdef __EMSCRIPTEN__
start_data.name = std::string("Guest") + itos(myrand_range(100000, 999999));
start_data.name = std::string("Guest") + itos(myrand_range(1000000, 9999999));
//resolve(false);
//return;
#else
Expand Down

0 comments on commit d4b54b4

Please sign in to comment.