chore(formatting): removed braces from one-line if-statement
parent
d7d1ce0314
commit
2d7555fb6d
|
@ -21,9 +21,8 @@ void Enemy::_ready() {
|
|||
timer->connect("timeout", callable_mp(this, &Enemy::update));
|
||||
this->target_rotation = this->get_rotation().y;
|
||||
this->drone_sound = this->get_node<gd::AudioStreamPlayer3D>("%DroneSound");
|
||||
if(this->has_node("%DebugLabel")) {
|
||||
if(this->has_node("%DebugLabel"))
|
||||
this->debug_label = this->get_node<gd::Label3D>("%DebugLabel");
|
||||
}
|
||||
this->agent->connect("velocity_computed", callable_mp(this, &Enemy::_on_velocity_calculated));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue