
Is There in Truth No Beauty? - S3-E5
Other mistake: In the final scene, Kirk is still in the transporter room, but does not have on a visor when the ambassador transports out. Even if he did, humans can still go mad if wearing one and that's why Spock operates the transporter. Spock has his visor on, but then you see Kirk walk out of the transporter room without a visor and he is not going mad.

Continuity mistake: After prying off the lock to the storeroom with the pry bar, Doug drops it on the ground, but the next shot of him entering the storeroom shows it still in his hand.