From: Rudolf Polzer Date: Wed, 25 Feb 2015 10:55:31 +0000 (+0100) Subject: Don't annoy bots with noise :) X-Git-Tag: xonotic-v0.8.1~110 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=041f4820fe5da28a60dd2aa5f0e70e74dd26116e;p=xonotic%2Fxonotic-data.pk3dir.git Don't annoy bots with noise :) --- diff --git a/qcsrc/server/func_breakable.qc b/qcsrc/server/func_breakable.qc index 6a651a0b0..da0beaecb 100644 --- a/qcsrc/server/func_breakable.qc +++ b/qcsrc/server/func_breakable.qc @@ -144,7 +144,7 @@ void func_breakable_behave_restore() void func_breakable_init_for_player(entity player) { - if (self.noise1 && self.state == 0) + if (self.noise1 && self.state == 0 && clienttype(player) == CLIENTTYPE_REAL) { msg_entity = player; soundto (MSG_ONE, self, CH_TRIGGER_SINGLE, self.noise1, VOL_BASE, ATTEN_NORM);