mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 18:53:06 +00:00
Admins can now toggle LOOC separately from OOC.
Also includes what I image to be proper permission checks for toggling the various OOC channels.
This commit is contained in:
@@ -185,6 +185,7 @@ var/list/gamemode_cache = list()
|
||||
var/ninjas_allowed = 0
|
||||
var/abandon_allowed = 1
|
||||
var/ooc_allowed = 1
|
||||
var/looc_allowed = 1
|
||||
var/dooc_allowed = 1
|
||||
var/dsay_allowed = 1
|
||||
|
||||
@@ -398,6 +399,7 @@ var/list/gamemode_cache = list()
|
||||
|
||||
if ("disable_ooc")
|
||||
config.ooc_allowed = 0
|
||||
config.looc_allowed = 0
|
||||
|
||||
if ("disable_entry")
|
||||
config.enter_allowed = 0
|
||||
|
||||
Reference in New Issue
Block a user