diff options
author | Yorhel <git@yorhel.nl> | 2022-03-29 17:36:25 +0200 |
---|---|---|
committer | Yorhel <git@yorhel.nl> | 2022-03-29 17:36:27 +0200 |
commit | 4001ea859e737a5388250546c27159b7760e4be5 (patch) | |
tree | 70e1307026cce2cf6ffe13bffb2f8f5ce2b8d02a /lib/VNWeb/Releases | |
parent | 9ce994eba64c640cc7142171dd86fd6b293ed6bb (diff) |
Release animation: don't consider face/bg animation to apply for ero scenes
Diffstat (limited to 'lib/VNWeb/Releases')
-rw-r--r-- | lib/VNWeb/Releases/Edit.pm | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/lib/VNWeb/Releases/Edit.pm b/lib/VNWeb/Releases/Edit.pm index 15cc2af7..1025f246 100644 --- a/lib/VNWeb/Releases/Edit.pm +++ b/lib/VNWeb/Releases/Edit.pm @@ -200,10 +200,7 @@ sub ani_compat { !hasani 'ero_sp' && !hasani 'ero_cg' ? 1 : (fullani 'ero_sp' || fullani 'ero_cg') && !(someani 'ero_sp' || someani 'ero_cg') ? 4 : 3; - if($r->{ani_face} || $r->{ani_bg}) { - $r->{ani_story} = 2 if $r->{ani_story} < 2; - $r->{ani_ero} = 2 if $r->{ani_ero} < 2 && $r->{minage} && $r->{minage} == 18; - } + $r->{ani_story} = 2 if $r->{ani_story} < 2 && ($r->{ani_face} || $r->{ani_bg}); } |