]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Damn. NOW it's good :)
authorRudolf Polzer <divverent@xonotic.org>
Sat, 21 Feb 2015 15:04:42 +0000 (16:04 +0100)
committerRudolf Polzer <divverent@xonotic.org>
Sat, 21 Feb 2015 15:04:42 +0000 (16:04 +0100)
qcsrc/server/func_breakable.qc

index 127f6224106f159964cf0b1c92373575a829b1ed..6a651a0b0dc24e0bf3d51dfdb9813c4c2fd88b93 100644 (file)
@@ -144,7 +144,7 @@ void func_breakable_behave_restore()
 
 void func_breakable_init_for_player(entity player)
 {
-       if (self.state == 0)
+       if (self.noise1 && self.state == 0)
        {
                msg_entity = player;
                soundto (MSG_ONE, self, CH_TRIGGER_SINGLE, self.noise1, VOL_BASE, ATTEN_NORM);