summaryrefslogtreecommitdiff
path: root/lib/VNWeb/Releases
diff options
context:
space:
mode:
authorYorhel <git@yorhel.nl>2020-06-22 19:28:57 +0200
committerYorhel <git@yorhel.nl>2020-06-22 19:28:59 +0200
commit6a494c40197473f5c1131ffb25a6e1027fe06341 (patch)
tree9655ad5a139b12f6ac6fe98b4815ed31277b7de0 /lib/VNWeb/Releases
parent76e3fd59690cae97321600a0b4722a416ea4f788 (diff)
Release::Edit: Unset engine when enabling patch flag
https://vndb.org/t2520.433
Diffstat (limited to 'lib/VNWeb/Releases')
-rw-r--r--lib/VNWeb/Releases/Edit.pm1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/VNWeb/Releases/Edit.pm b/lib/VNWeb/Releases/Edit.pm
index d7f62cdf..0163521b 100644
--- a/lib/VNWeb/Releases/Edit.pm
+++ b/lib/VNWeb/Releases/Edit.pm
@@ -154,6 +154,7 @@ elm_api ReleaseEdit => $FORM_OUT, $FORM_IN, sub {
}
$data->{doujin} = $data->{voiced} = $data->{ani_story} = $data->{ani_ero} = 0 if $data->{patch};
$data->{reso_x} = $data->{reso_y} = 0 if $data->{patch};
+ $data->{engine} = '' if $data->{patch};
$data->{uncensored} = $data->{ani_ero} = 0 if $data->{minage} != 18;
$_->{qty} = $MEDIUM{$_->{medium}}{qty} ? $_->{qty}||1 : 0 for $data->{media}->@*;
$data->{notes} = bb_subst_links $data->{notes};