mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-21 21:17:44 +01:00
Reverses the config var so it forbids instead of allows
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user