From 5df7a425b0824b1b230bf8c32de8fc79da349802 Mon Sep 17 00:00:00 2001 From: Yimura Date: Sat, 25 Jun 2022 22:40:34 +0200 Subject: [PATCH] fix(PlayerService): Reset selected player back to dummy Fixes #282 --- BigBaseV2/src/services/player_service.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/BigBaseV2/src/services/player_service.cpp b/BigBaseV2/src/services/player_service.cpp index 7522b4fa..85e0cdeb 100644 --- a/BigBaseV2/src/services/player_service.cpp +++ b/BigBaseV2/src/services/player_service.cpp @@ -104,6 +104,7 @@ namespace big void player_service::do_cleanup() { + m_selected_player = m_dummy; m_players.clear(); }