From a7d5fb6829ce6c4d7ffea8a1f5474dda80cb264f Mon Sep 17 00:00:00 2001 From: sabira Date: Mon, 2 Jul 2018 22:53:28 -0400 Subject: [PATCH] Add config option to disable LOOC by default --- baystation12.dme | 2 +- code/controllers/configuration.dm | 2 ++ config/example/config.txt | 3 +++ 3 files changed, 6 insertions(+), 1 deletion(-) diff --git a/baystation12.dme b/baystation12.dme index 823ff2217f902..05cf14b727f38 100644 --- a/baystation12.dme +++ b/baystation12.dme @@ -2623,8 +2623,8 @@ #include "maps\random_ruins\exoplanet_ruins\exoplanet_ruins.dm" #include "maps\random_ruins\exoplanet_ruins\fountain\fountain_ruin.dm" #include "maps\random_ruins\exoplanet_ruins\hydrobase\hydrobase.dm" -#include "maps\random_ruins\exoplanet_ruins\marooned\marooned.dm" #include "maps\random_ruins\exoplanet_ruins\lodge\lodge.dm" +#include "maps\random_ruins\exoplanet_ruins\marooned\marooned.dm" #include "maps\random_ruins\exoplanet_ruins\monoliths\monoliths.dm" #include "maps\random_ruins\exoplanet_ruins\oasis\oasis.dm" #include "maps\random_ruins\space_ruins\space_ruins.dm" diff --git a/code/controllers/configuration.dm b/code/controllers/configuration.dm index 9e472f70ede21..705b4ec98cf3e 100644 --- a/code/controllers/configuration.dm +++ b/code/controllers/configuration.dm @@ -440,6 +440,8 @@ var/list/gamemode_cache = list() if ("disable_ooc") config.ooc_allowed = 0 + + if ("disable_looc") config.looc_allowed = 0 if ("disable_aooc") diff --git a/config/example/config.txt b/config/example/config.txt index ca35011e41205..569b7cdbbca81 100644 --- a/config/example/config.txt +++ b/config/example/config.txt @@ -330,6 +330,9 @@ EVENT_CUSTOM_START_MAJOR 80;100 ## Uncomment to disable the OOC channel by default. #DISABLE_OOC +## Uncomment to disable the LOOC channel by default. +#DISABLE_LOOC + ## Uncomment to disable the dead OOC channel by default. #DISABLE_DEAD_OOC