AITA for shouting at my waiter

"I recently went to a restaurant with a group of friends. We all ordered our meals and I ordered a steak cooked medium-rare. When my steak arrived, it was well-done and tough. I called the waiter over and politely explained the issue, asking if they could cook me another steak to my liking. The waiter apologized and took the steak back to the kitchen.

When my replacement steak arrived, it was cooked perfectly. However, when the bill came, I noticed that I had been charged for both steaks. I asked the waiter about it and he explained that since they had to cook me a second steak, they had to charge me for it.

I was frustrated by this and argued with the waiter, saying that it wasn't my fault that they had messed up my steak in the first place. My friends were getting uncomfortable with the situation and eventually, I gave in and paid the bill.

Later, one of my friends pulled me aside and told me that I had been rude to the waiter and that I shouldn't have argued with him over the bill. They said that I was being selfish and that I should have just paid for the second steak without causing a scene.

Now I'm wondering, am I the asshole for arguing with the waiter and causing a scene over the bill?"