feat: removed if statement that will always execute body
parent
527415677f
commit
47a5965e31
|
@ -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…
Reference in New Issue