Update autobunker.dm

This commit is contained in:
silicons
2020-06-29 04:45:05 -07:00
committed by GitHub
parent b367f76c62
commit d6a7f91b81

View File

@@ -2,6 +2,12 @@
set name = "Auto Authorize Panic Bunker"
set desc = "Authorizes your account in the panic bunker of any servers connected to this function."
set category = "OOC"
var/static/lastuse = 0
if(lastuse + 5 SECONDS > world.time)
to_chat(src, "<span class='danger'>Function on cooldown, try again in 5 seconds.</span>")
return
lastuse = world.time
world.send_cross_server_bunker_overrides(key, src)