actually adds the check

git pls
This commit is contained in:
datlo
2020-02-08 20:00:03 +01:00
parent 20fe03384e
commit ddaee65ca2

View File

@@ -52,6 +52,7 @@ SUBSYSTEM_DEF(vote)
voting.Cut()
current_votes.Cut()
if(auto_muted && !config.ooc_allowed && !(config.auto_toggle_ooc_during_round && SSticker.current_state == GAME_STATE_PLAYING))
auto_muted = 0
config.ooc_allowed = !( config.ooc_allowed )
to_chat(world, "<b>The OOC channel has been automatically enabled due to vote end.</b>")