Add discord button to UI + config

This commit is contained in:
Cerebulon
2021-08-26 17:29:08 +01:00
parent 50e880ce5e
commit c51a4cf033
5 changed files with 39 additions and 8 deletions

View File

@@ -124,6 +124,7 @@ var/list/gamemode_cache = list()
var/wikisearchurl
var/forumurl
var/githuburl
var/discordurl
var/rulesurl
var/mapurl
@@ -541,6 +542,9 @@ var/list/gamemode_cache = list()
if ("guest_jobban")
config.guest_jobban = 1
if ("discordurl")
config.discordurl = value
if ("guest_ban")
config.guests_allowed = 0
@@ -1002,10 +1006,10 @@ var/list/gamemode_cache = list()
if("use_loyalty_implants")
config.use_loyalty_implants = 1
if("loadout_whitelist")
config.loadout_whitelist = text2num(value)
else
log_misc("Unknown setting in configuration: '[name]'")