Skip to content

Commit

Permalink
fixed some linting issues
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmunoz502 committed Oct 1, 2024
1 parent 90ffd34 commit 64a72e9
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions global/autoload/audio/audio_player/audio_player.gd
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ const TWEEN_FADE_AUDIO_DURATION: float = 2.0
@export var is_looping: bool = false

var master_volume: float = max_volume

var _current_audio: Resource
var _fade_tween: Tween
var _idle_playback_position: float = 0.0
Expand Down
4 changes: 2 additions & 2 deletions global/autoload/audio/audio_player/track_state.gd
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
extends StateMachineState

@onready var audio_player: AudioPlayer = owner

const TWEEN_TRANSITION_TIME: float = 1.0

var track: AudioStreamPlayer
var _transition_tween: Tween
var _is_active: bool = false

@onready var audio_player: AudioPlayer = owner

###############
## overrides ##
###############
Expand Down

0 comments on commit 64a72e9

Please sign in to comment.