Skip to content

Commit

Permalink
Simplify finding fallback name of Character Leave.
Browse files Browse the repository at this point in the history
  • Loading branch information
CakeVR committed Apr 18, 2024
1 parent 9c89427 commit 2ce4c9b
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions addons/dialogic/Modules/Character/subsystem_portraits.gd
Original file line number Diff line number Diff line change
Expand Up @@ -522,8 +522,7 @@ func leave_character(character: DialogicCharacter, animation_name:= "", animatio
return

if animation_name.is_empty():
animation_name = ProjectSettings.get_setting('dialogic/animations/leave_default',
get_script().resource_path.get_base_dir().path_join('DefaultAnimations/fade_down_in_out.gd'))
animation_name = ProjectSettings.get_setting('dialogic/animations/leave_default', "Fade Down Out")
animation_length = _get_leave_default_length()
animation_wait = ProjectSettings.get_setting('dialogic/animations/leave_default_wait', true)

Expand Down

0 comments on commit 2ce4c9b

Please sign in to comment.