mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-01-11 01:51:51 +00:00
* world/Topic Refactor * These arent needed anymore * How could I forget this * Biggest edit ever * Forgot this * Mini refactor
12 lines
406 B
Plaintext
12 lines
406 B
Plaintext
/datum/world_topic_handler/announce
|
|
topic_key = "announce"
|
|
requires_commskey = TRUE
|
|
|
|
/datum/world_topic_handler/announce/execute(list/input, key_valid)
|
|
var/prtext = input["announce"]
|
|
var/pr_substring = copytext(prtext, 1, 23)
|
|
if(pr_substring == "Pull Request merged by")
|
|
GLOB.pending_server_update = TRUE
|
|
for(var/client/C in GLOB.clients)
|
|
to_chat(C, "<span class='announce'>PR: [prtext]</span>")
|