SERVER: Don't play splash.wav if we aren't host

This commit is contained in:
Steam Deck User 2023-01-11 10:24:04 -05:00
parent 6d8202b8e5
commit 85d723c5e4

View file

@ -594,7 +594,7 @@ void() PlayerSpawn =
pl1 = self; pl1 = self;
} }
if (rounds < 1) { if (rounds < 1 && player_count == 0) {
sound(self, CHAN_AUTO, "sounds/rounds/splash.wav", 1, ATTN_NONE); sound(self, CHAN_AUTO, "sounds/rounds/splash.wav", 1, ATTN_NONE);
} }