From 47a5965e31239ed96f904732dfb6c29d945aa106 Mon Sep 17 00:00:00 2001 From: Sara Date: Tue, 28 May 2024 17:06:32 +0200 Subject: [PATCH] feat: removed if statement that will always execute body --- game_root.cpp | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/game_root.cpp b/game_root.cpp index 9b487de..a997475 100644 --- a/game_root.cpp +++ b/game_root.cpp @@ -36,9 +36,7 @@ bool GameRoot3D::has_singleton() { void GameRoot3D::_enter_tree() { GDGAMEONLY(); // TODO: Replace this with detecting input devices - if(this->players.is_empty()) { - this->player_input_connected(); - } + this->player_input_connected(); this->grab_singleton(); }