Skip to content

Commit

Permalink
Merge pull request #231 from PasterLak/patch-1
Browse files Browse the repository at this point in the history
Fix - cogito_health_attribute.gd
  • Loading branch information
Phazorknight authored Jul 19, 2024
2 parents a4bf8b2 + 8b3cec2 commit 450ce3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion COGITO/Components/Attributes/cogito_health_attribute.gd
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ func on_health_change(_health_name:String, _health_current:float, _health_max:fl
if !has_increased:
damage_taken.emit()
if sound_on_damage_taken:
Audio.play_sound_3d(sound_on_death).global_position = get_parent().global_position
Audio.play_sound_3d(sound_on_damage_taken).global_position = get_parent().global_position


func on_death(_attribute_name:String, _value_current:float, _value_max:float):
Expand Down

0 comments on commit 450ce3d

Please sign in to comment.