Merge pull request #31315 from tgstation/Cyberboss-patch-3

Removes shitty sleep from area/Entered
This commit is contained in:
oranges
2017-10-05 17:43:23 -05:00
committed by CitadelStationBot
parent cf37555c4d
commit 645d8fdc7c
+5 -4
View File
@@ -449,10 +449,11 @@ GLOBAL_LIST_EMPTY(teleportlocs)
if(!L.client.played)
SEND_SOUND(L, sound(sound, repeat = 0, wait = 0, volume = 25, channel = CHANNEL_AMBIENCE))
L.client.played = 1
sleep(600) //ewww - this is very very bad
if(L.&& L.client)
L.client.played = 0
L.client.played = TRUE
addtimer(CALLBACK(L.client, /client/proc/ResetAmbiencePlayed), 600)
/client/proc/ResetAmbiencePlayed()
played = FALSE
/atom/proc/has_gravity(turf/T)
if(!T || !isturf(T))