Fix play_ambience in Life() causing premature loops

This commit is contained in:
ShadowLarkens
2020-08-10 03:00:57 -07:00
parent 93d0d31d62
commit 9213f2cc81
3 changed files with 7 additions and 5 deletions

View File

@@ -96,7 +96,7 @@
if(world.time >= (lastareachange + 30 SECONDS)) // Every 30 seconds, we're going to run a 35% chance to play ambience.
var/area/A = get_area(src)
if(A)
A.play_ambience(src)
A.play_ambience(src, initial = FALSE)
/mob/living/proc/update_pulling()
if(pulling)