mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-23 21:27:01 +01:00
Configuration Controller (#7857)
This commit is contained in:
@@ -343,8 +343,8 @@ var/list/preferences_datums = list()
|
||||
if(!istype(user, /mob/new_player)) return
|
||||
|
||||
if(href_list["preference"] == "open_whitelist_forum")
|
||||
if(config.forumurl)
|
||||
user << link(config.forumurl)
|
||||
if(CONFIG_GET(string/forumurl)) // CHOMPEdit
|
||||
user << link(CONFIG_GET(string/forumurl)) // CHOMPEdit
|
||||
else
|
||||
to_chat(user, "<span class='danger'>The forum URL is not set in the server configuration.</span>")
|
||||
return
|
||||
@@ -428,7 +428,7 @@ var/list/preferences_datums = list()
|
||||
var/nickname //vorestation edit - This set appends nicknames to the save slot
|
||||
var/list/charlist = list()
|
||||
var/default //VOREStation edit
|
||||
for(var/i=1, i<= config.character_slots, i++)
|
||||
for(var/i = 1, i <= CONFIG_GET(number/character_slots), i++) // CHOMPEdit
|
||||
S.cd = "/character[i]"
|
||||
S["real_name"] >> name
|
||||
S["nickname"] >> nickname //vorestation edit
|
||||
@@ -470,7 +470,7 @@ var/list/preferences_datums = list()
|
||||
var/name
|
||||
var/nickname //vorestation edit - This set appends nicknames to the save slot
|
||||
var/list/charlist = list()
|
||||
for(var/i=1, i<= config.character_slots, i++)
|
||||
for(var/i = 1, i <= CONFIG_GET(number/character_slots), i++) // CHOMPEdit
|
||||
S.cd = "/character[i]"
|
||||
S["real_name"] >> name
|
||||
S["nickname"] >> nickname //vorestation edit
|
||||
|
||||
Reference in New Issue
Block a user