Make weighted votes a configuration option.

This commit is contained in:
D3athrow
2017-12-08 20:43:35 -06:00
parent 2183a76c8a
commit 296caf6941
2 changed files with 6 additions and 1 deletions

View File

@@ -180,6 +180,9 @@
// Discord crap.
var/discord_url
var/discord_password
// Weighted Votes
var/weighted_votes = 0
/datum/configuration/New()
. = ..()
@@ -574,6 +577,8 @@
discord_url = value
if("discord_password")
discord_password = value
if("weighted_votes")
weighted_votes = TRUE
else
diary << "Unknown setting in configuration: '[name]'"