feat: removed if statement that will always execute body
This commit is contained in:
parent
527415677f
commit
47a5965e31
1 changed files with 1 additions and 3 deletions
|
|
@ -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();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue