feat: removed if statement that will always execute body

main
Sara 2024-05-28 17:06:32 +02:00
parent 527415677f
commit 47a5965e31
1 changed files with 1 additions and 3 deletions

View File

@ -36,9 +36,7 @@ bool GameRoot3D::has_singleton() {
void GameRoot3D::_enter_tree() { GDGAMEONLY(); void GameRoot3D::_enter_tree() { GDGAMEONLY();
// TODO: Replace this with detecting input devices // TODO: Replace this with detecting input devices
if(this->players.is_empty()) {
this->player_input_connected(); this->player_input_connected();
}
this->grab_singleton(); this->grab_singleton();
} }