It doesn't have a single specific synonym, but here are some options depending on the context:
* Kill the vibe: This is a more modern and slangy way of saying the same thing.
* Put a damper on things: This is a more formal way of saying it.
* Bring the mood down: This is a more neutral way of saying it.
* Spoil the fun: This emphasizes the negative impact on enjoyment.
The best term to use depends on the specific situation and your desired tone.