it is important that we actually keep track
This commit is contained in:
@@ -254,6 +254,7 @@ SUBSYSTEM_DEF(vote)
|
|||||||
var/list/winners = list()
|
var/list/winners = list()
|
||||||
if(mode == "transfer")
|
if(mode == "transfer")
|
||||||
var/amount_required = 3 + transfer_votes_done
|
var/amount_required = 3 + transfer_votes_done
|
||||||
|
transfer_votes_done += 1
|
||||||
text += "\nExtending requires at least [amount_required] votes to win."
|
text += "\nExtending requires at least [amount_required] votes to win."
|
||||||
if(choices[VOTE_CONTINUE] < amount_required || choices[VOTE_TRANSFER] >= choices[VOTE_CONTINUE])
|
if(choices[VOTE_CONTINUE] < amount_required || choices[VOTE_TRANSFER] >= choices[VOTE_CONTINUE])
|
||||||
winners = list(VOTE_TRANSFER)
|
winners = list(VOTE_TRANSFER)
|
||||||
|
|||||||
Reference in New Issue
Block a user