From cd89a794372b0f2b5625eb56875c123d2ab63b4b Mon Sep 17 00:00:00 2001 From: Cyberboss Date: Sun, 1 Jan 2017 08:13:14 -0500 Subject: [PATCH] Add a note about active testmerges to report issue (#22581) * Add a note about active testmerges to report issue * To the threads not the tracker * tgalert * Message reformatting --- interface/interface.dm | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/interface/interface.dm b/interface/interface.dm index 5733d7cb317ef..ae3f1287a74a0 100644 --- a/interface/interface.dm +++ b/interface/interface.dm @@ -52,7 +52,15 @@ set desc = "Report an issue" set hidden = 1 if(config.githuburl) - if(alert("This will open the Github issue reporter in your browser. Are you sure?",,"Yes","No")=="No") + var/message = "This will open the Github issue reporter in your browser. Are you sure?" + var/first = TRUE + for(var/line in revdata.testmerge) + if(line) + if(first) + first = FALSE + message += ". The following experimental changes are active and are probably the cause of any new or sudden issues you may experience. If possible, please try to find a specific thread for your issue instead of posting to the general issue tracker:" + message += " #[line]" + if(tgalert(src, message, "Report Issue","Yes","No")=="No") return src << link("[config.githuburl]/issues/new") else