chore(formatting): added brackets for consistency

This commit is contained in:
Sara 2024-03-31 18:16:32 +02:00
parent 317b7f877a
commit dc56c7bc52

View file

@ -27,9 +27,10 @@ void CharacterActor::_process(double delta_time) { GDGAMEONLY();
if(!this->mode_manual) { if(!this->mode_manual) {
this->process_ai(delta_time); this->process_ai(delta_time);
} }
if(this->firing) if(this->firing) {
this->try_fire_weapon(); this->try_fire_weapon();
} }
}
void CharacterActor::_physics_process(double delta_time) { GDGAMEONLY(); void CharacterActor::_physics_process(double delta_time) { GDGAMEONLY();
// accelerate towards velocity target // accelerate towards velocity target