I haven't watched the end of TSFS in many years.
When Scotty says, "That or nothing," my finger just automatically presses stop.
That scene (last couple minutes of the movie) got two great laughs in the theater. The first was when McCoy pointed to his head. The second was when Spock raised his eyebrow.
I thought it was OK. The captain of the Excelsior was made to be too much the preening fool. Things were sometimes too easy for our heroes. They never really seemed to be in real danger. But this is hardly the only Trek movie with quibbles.
This was the first real ensemble Trek movie where everyone had something important to do and good character moments, too, a story format all Trek movies (TOS and TNG) followed after that.