[feat] attempt to rejoin once per second

This commit is contained in:
dijunkun
2025-11-27 04:20:29 +08:00
parent 217cfb091d
commit 239da373d0
3 changed files with 16 additions and 6 deletions

View File

@@ -168,7 +168,7 @@ SDL_HitTestResult Render::HitTestCallback(SDL_Window* window,
return SDL_HITTEST_NORMAL;
}
Render::Render() {}
Render::Render() : last_rejoin_check_time_(std::chrono::steady_clock::now()) {}
Render::~Render() {}