mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-22 12:29:46 +01:00
Closet Teleporter Cooldown (#11506)
This commit is contained in:
@@ -155,9 +155,12 @@
|
||||
if(linked_teleporter)
|
||||
if(linked_teleporter.last_use + 600 > world.time)
|
||||
return
|
||||
var/did_teleport = FALSE
|
||||
for(var/mob/M in contents)
|
||||
did_teleport = TRUE
|
||||
linked_teleporter.do_teleport(M)
|
||||
linked_teleporter.last_use = world.time
|
||||
if(did_teleport)
|
||||
linked_teleporter.last_use = world.time
|
||||
|
||||
playsound(get_turf(src), close_sound, 25, 0, -3)
|
||||
density = initial(density)
|
||||
|
||||
Reference in New Issue
Block a user