Hotel guest racial slur

After a visit at the cocktail bar, I was standing in front of a hotel waiting for my ride to arrive and looking on my mobile, when a hotel guest walks up the stairs and out of nowhere says “Ni Hao” to me based on my appearance. I call him out a racist. How dare these tourists throw racial slurs at locals!