Reverses the config var so it forbids instead of allows

This commit is contained in:
Shadowlight213
2016-03-04 10:49:00 -08:00
parent 51c414e808
commit ebcbbec8e2
2 changed files with 3 additions and 3 deletions
+2 -2
View File
@@ -92,7 +92,7 @@
var/humans_need_surnames = 0
var/allow_random_events = 0 // enables random events mid-round when set to 1
var/allow_ai = 0 // allow ai job
var/allow_secborg = 1 // allow secborg module to be chosen.
var/forbid_secborg = 0 // disallow secborg module to be chosen.
var/panic_bunker = 0 // prevents new people it hasn't seen before from connecting
var/notify_new_player_age = 0 // how long do we notify admins of a new player
var/irc_first_connection_alert = 0 // do we notify the irc channel when somebody is connecting for the first time?
@@ -519,7 +519,7 @@
if("allow_ai")
config.allow_ai = 1
if("disable_secborg")
config.allow_secborg = 0
config.forbid_secborg = 1
if("silent_ai")
config.silent_ai = 1
if("silent_borg")
@@ -167,7 +167,7 @@
return
var/list/modulelist = list("Standard", "Engineering", "Medical", "Miner", "Janitor","Service")
if(config.allow_secborg)
if(!config.forbid_secborg)
modulelist += "Security"
designation = input("Please, select a module!", "Robot", null, null) in modulelist