Skip to content

Commit

Permalink
снижаем влажность ой вложенность
Browse files Browse the repository at this point in the history
  • Loading branch information
konushi committed Dec 5, 2023
1 parent d65e161 commit af7d463
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions modular_ss220/maps220/code/mobs.dm
Original file line number Diff line number Diff line change
Expand Up @@ -669,10 +669,11 @@
default_language = GLOB.all_languages["Sol Common"]

/mob/living/simple_animal/hostile/blackmesa/Aggro()
if(alert_sounds)
if(world.time > alert_cooldown_time)
playsound(src, pick(alert_sounds), 70)
alert_cooldown_time = world.time + alert_cooldown
if(!alert_sounds)
return
if(world.time > alert_cooldown_time)
playsound(src, pick(alert_sounds), 70)
alert_cooldown_time = world.time + alert_cooldown
//Humans
/mob/living/simple_animal/hostile/blackmesa/hecu
name = "HECU Grunt"
Expand Down

0 comments on commit af7d463

Please sign in to comment.