mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-10 10:12:45 +00:00
Removed some debug print to diary
This commit is contained in:
@@ -209,7 +209,6 @@ Starting up. [time2text(world.timeofday, "hh:mm.ss")]
|
|||||||
abandon_allowed = config.respawn
|
abandon_allowed = config.respawn
|
||||||
|
|
||||||
/world/proc/load_mods()
|
/world/proc/load_mods()
|
||||||
diary << "Loading mods. Legacy: [config.admin_legacy_system]"
|
|
||||||
if(config.admin_legacy_system)
|
if(config.admin_legacy_system)
|
||||||
var/text = file2text("config/moderators.txt")
|
var/text = file2text("config/moderators.txt")
|
||||||
if (!text)
|
if (!text)
|
||||||
@@ -217,7 +216,6 @@ Starting up. [time2text(world.timeofday, "hh:mm.ss")]
|
|||||||
else
|
else
|
||||||
var/list/lines = text2list(text, "\n")
|
var/list/lines = text2list(text, "\n")
|
||||||
for(var/line in lines)
|
for(var/line in lines)
|
||||||
diary << "Line: [line]"
|
|
||||||
if (!line)
|
if (!line)
|
||||||
continue
|
continue
|
||||||
|
|
||||||
@@ -226,7 +224,6 @@ Starting up. [time2text(world.timeofday, "hh:mm.ss")]
|
|||||||
|
|
||||||
var/rights = admin_ranks["Moderator"]
|
var/rights = admin_ranks["Moderator"]
|
||||||
var/ckey = copytext(line, 1, length(line)+1)
|
var/ckey = copytext(line, 1, length(line)+1)
|
||||||
diary << "Here comes moderator [ckey], he has rights for [rights]"
|
|
||||||
var/datum/admins/D = new /datum/admins("Moderator", rights, ckey)
|
var/datum/admins/D = new /datum/admins("Moderator", rights, ckey)
|
||||||
D.associate(directory[ckey])
|
D.associate(directory[ckey])
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user