mirror of
https://github.com/godotengine/godot.git
synced 2026-03-03 20:55:48 +00:00
Style: Apply clang-tidy's readability-braces-around-statements
This commit is contained in:
@@ -99,8 +99,9 @@ float AudioStreamPlaybackMP3::get_playback_position() const {
|
||||
}
|
||||
|
||||
void AudioStreamPlaybackMP3::seek(float p_time) {
|
||||
if (!active)
|
||||
if (!active) {
|
||||
return;
|
||||
}
|
||||
|
||||
if (p_time >= mp3_stream->get_length()) {
|
||||
p_time = 0;
|
||||
|
||||
Reference in New Issue
Block a user