Map rotation update

This commit is contained in:
AffectedArc07
2021-05-24 15:47:21 +01:00
parent 968d1bc88d
commit 8647f2d10e
6 changed files with 11 additions and 6 deletions
@@ -16,6 +16,8 @@
var/prevent_dead_voting = FALSE
/// Default to players not voting
var/disable_default_vote = TRUE
/// Enable map voting?
var/enable_map_voting = FALSE
/datum/configuration_section/vote_configuration/load_data(list/data)
// Use the load wrappers here. That way the default isnt made 'null' if you comment out the config line
@@ -23,6 +25,7 @@
CONFIG_LOAD_BOOL(allow_mode_votes, data["allow_vote_mode"])
CONFIG_LOAD_BOOL(prevent_dead_voting, data["prevent_dead_voting"])
CONFIG_LOAD_BOOL(disable_default_vote, data["disable_default_vote"])
CONFIG_LOAD_BOOL(enable_map_voting, data["enable_map_voting"])
CONFIG_LOAD_NUM(vote_delay, data["vote_delay"])
CONFIG_LOAD_NUM(vote_time, data["vote_time"])