diff options
author | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-11-24 20:35:45 +1100 |
---|---|---|
committer | Kae <80987908+Novaenia@users.noreply.github.com> | 2023-11-24 20:35:45 +1100 |
commit | 994b0fe3cff39a2640d931aa3677f2474863cd47 (patch) | |
tree | 804f5d051873aa48c65224dbd14a36a11654a3ca /source/test | |
parent | de53f8c7d73bcd3e2aab57e56f337818fd11ce92 (diff) |
Fix TestUniverse
Diffstat (limited to 'source/test')
-rw-r--r-- | source/test/StarTestUniverse.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/test/StarTestUniverse.cpp b/source/test/StarTestUniverse.cpp index 4602f34..a7b9dd2 100644 --- a/source/test/StarTestUniverse.cpp +++ b/source/test/StarTestUniverse.cpp @@ -42,7 +42,7 @@ TestUniverse::~TestUniverse() { void TestUniverse::warpPlayer(WorldId worldId) { m_client->warpPlayer(WarpToWorld(worldId), true); while (m_mainPlayer->isTeleporting() || m_client->playerWorld().empty()) { - m_client->update(); + m_client->update(0.016f); Thread::sleep(16); } } @@ -53,7 +53,7 @@ WorldId TestUniverse::currentPlayerWorld() const { void TestUniverse::update(unsigned times) { for (unsigned i = 0; i < times; ++i) { - m_client->update(); + m_client->update(0.016f); Thread::sleep(16); } } |