Skip to content

Commit

Permalink
cmd/vinegar: always merlin if not already merlined anyway
Browse files Browse the repository at this point in the history
  • Loading branch information
apprehensions committed Dec 21, 2023
1 parent 2d733f2 commit 8905e1a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions cmd/vinegar/binary.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import (
"fmt"
"io"
"log"
"math/rand"
"os"
"os/signal"
"path/filepath"
Expand Down Expand Up @@ -254,8 +253,7 @@ func (b *Binary) Setup() error {
}
b.State = &s

// Randomly decide if the user should get Merlined
if rand.Intn(16) == 7 && !b.State.Merlined {
if !b.State.Merlined {
r := b.Splash.Dialog(DialogMerlin, true)
if r {
if err := SubmitMerlin(); err != nil {
Expand Down

0 comments on commit 8905e1a

Please sign in to comment.