You're fine. Your friend's sentence has an "if clause," which calls for the subjunctive. " Your sentence has no "if clause," so "were" may not be used.
New words, one handy idiom, and a 2-minute quiz — delivered to your inbox to keep your streak alive.