[MIRROR] Adds keyloop to the autoclearing ss, cleans up ssambience a bit (#8330)

* Adds keyloop to the autoclearing ss, cleans up ssambience a bit

* Update ambience.dm

Co-authored-by: LemonInTheDark <58055496+LemonInTheDark@users.noreply.github.com>
Co-authored-by: Gandalf <jzo123@hotmail.com>
This commit is contained in:
SkyratBot
2021-09-23 03:37:59 +02:00
committed by GitHub
parent da3076fa46
commit e6a5103f0b
3 changed files with 58 additions and 42 deletions
+2 -2
View File
@@ -523,7 +523,7 @@ GLOBAL_LIST_INIT(blacklisted_builds, list(
UNSETEMPTY(movingmob.client_mobs_in_contents)
movingmob = null
active_mousedown_item = null
SSambience.ambience_listening_clients -= src
SSambience.remove_ambience_client(src)
QDEL_NULL(view_size)
QDEL_NULL(void)
QDEL_NULL(tooltips)
@@ -1145,7 +1145,7 @@ GLOBAL_LIST_INIT(blacklisted_builds, list(
return // If already properly set we don't want to reset the timer.
SSambience.ambience_listening_clients[src] = world.time + 10 SECONDS //Just wait 10 seconds before the next one aight mate? cheers.
else
SSambience.ambience_listening_clients -= src
SSambience.remove_ambience_client(src)
/// Checks if this client has met the days requirement passed in, or if
/// they are exempt from it.