A person who is anti-fun, or prevents others from having fun.
Someone who puts an end to others' fun, especially harmless fun.
Like a spoilsport.