Change gravel and sand sounds

remotes/ExcaliburZero/master
Brandon 2015-12-12 16:38:33 -06:00
parent ec83986f0f
commit 000a20ffe6
8 changed files with 1 additions and 1 deletions

Binary file not shown.

View File

@ -66,7 +66,7 @@ function mobs.on_step(self,dtime)
self.timer = 0
end
if self.sounds and self.sounds.random then
if self.sounds and self.sounds.random and self.state ~= "attack" then
if randomChance(self.random_freq) then
if ( self.type == "npc" and randomChance(65) ) or self.type ~= "npc" then
local maxhear = 50