mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-23 03:57:13 +01:00
fixed alien whitelist (wasn't being loaded at round start), removed myself from admins
Signed-off-by: Cael_Aislinn <cael_aislinn@yahoo.com.au>
This commit is contained in:
@@ -1,6 +1,6 @@
|
||||
#define WHITELISTFILE "data/whitelist.txt"
|
||||
|
||||
var/list/whitelist
|
||||
var/list/whitelist = list()
|
||||
|
||||
/proc/load_whitelist()
|
||||
var/text = file2text(WHITELISTFILE)
|
||||
@@ -25,10 +25,8 @@ proc/load_alienwhitelist()
|
||||
|
||||
/proc/is_alien_whitelisted(mob/M, var/species)
|
||||
if(!alien_whitelist)
|
||||
world << "no alien whitelist"
|
||||
return 0
|
||||
if((M.client) && (M.client.holder) && (M.client.holder.level) && (M.client.holder.level >= 5))
|
||||
world << "admin alien whitelisted"
|
||||
return 1
|
||||
if(M && species)
|
||||
for (var/s in alien_whitelist)
|
||||
|
||||
@@ -23,6 +23,8 @@
|
||||
investigate_reset()
|
||||
if (config.usewhitelist)
|
||||
load_whitelist()
|
||||
if (config.usealienwhitelist)
|
||||
load_alienwhitelist()
|
||||
LoadBansjob()
|
||||
Get_Holiday() //~Carn, needs to be here when the station is named so :P
|
||||
src.update_status()
|
||||
|
||||
@@ -3,7 +3,6 @@ arcalane - Game Admin
|
||||
asanadas - Game Admin
|
||||
bobbehluvspropane - Game Admin
|
||||
cacophony - Game Admin
|
||||
caelaislinn - Game Master
|
||||
cajoes - Game Admin
|
||||
cib - Retired Admin
|
||||
compactninja - Retired Admin
|
||||
|
||||
Reference in New Issue
Block a user