From e584d9607f484fb92379d001ea50d1840d1f6288 Mon Sep 17 00:00:00 2001 From: Guillaume Meunier Date: Sat, 26 Jul 2025 13:44:01 +0200 Subject: [PATCH] Fix the reset when the lobby is unfocused --- client/scenes/lobby.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/client/scenes/lobby.cpp b/client/scenes/lobby.cpp index 58b3fe4b..f73ba678 100644 --- a/client/scenes/lobby.cpp +++ b/client/scenes/lobby.cpp @@ -945,7 +945,7 @@ void scenes::lobby::on_unfocused() about_picture = 0; imgui_ctx.reset(); - world.clear(); + world = entt::registry{}; input.reset(); left_hand.reset();