Roundstart Events. Fixes xeno egg announcement timer (#25659)

* Add support for roundstart events

* Fixes #25649
This commit is contained in:
Cyberboss
2017-03-31 14:20:40 -04:00
committed by AnturK
parent 7ad5a718aa
commit e3c31d2fa7
2 changed files with 14 additions and 1 deletions
@@ -16,5 +16,5 @@
message_admins("An alien egg has been delivered to [A] at [ADMIN_COORDJMP(T)].")
log_game("An alien egg has been delivered to [A] at [COORD(T)]")
var/message = "Attention [station_name()], we have entrusted you with a research specimen in [A]. Remember to follow all safety precautions when dealing with the specimen."
addtimer(CALLBACK(GLOBAL_PROC, /.proc/print_command_report, message), announcement_time)
ticker.OnRoundstart(CALLBACK(GLOBAL_PROC, /proc/addtimer, CALLBACK(GLOBAL_PROC, /.proc/print_command_report, message), announcement_time))
qdel(src)