diff --git a/interface/interface.dm b/interface/interface.dm index cf3419cc1a7..226d50eb228 100644 --- a/interface/interface.dm +++ b/interface/interface.dm @@ -66,6 +66,18 @@ to_chat(src, "The rules URL is not set in the server configuration.") return +/client/verb/github() + set name = "GitHub" + set desc = "Visit the GitHub page." + set hidden = 1 + if(config.githuburl) + if(alert("This will open our Source Code page on GitHub. Are you sure?",,"Yes","No")=="No") + return + src << link(config.githuburl) + else + to_chat(src, "The GitHub URL is not set in the server configuration.") + return + /client/verb/donate() set name = "Donate" set desc = "Donate to help with hosting costs."