Merge pull request #113 from Phantastic-Swan/master

makes it so that not transfering is the default transfer vote result
This commit is contained in:
evilew
2025-03-17 19:37:55 +01:00
committed by GitHub
+4 -1
View File
@@ -256,7 +256,10 @@ SUBSYSTEM_DEF(vote)
var/amount_required = 0 //gs13 tweaked from 1 to 0
transfer_votes_done = 0 //gs13 tweaked from 1 to 0 (also removed it incrementing with each vote)
text += "\nExtending requires at least [amount_required] votes to win."
if(choices[VOTE_CONTINUE] < amount_required || choices[VOTE_TRANSFER] >= choices[VOTE_CONTINUE])
// GS13 EDIT
// if(choices[VOTE_CONTINUE] < amount_required || choices[VOTE_TRANSFER] >= choices[VOTE_CONTINUE])
if(choices[VOTE_CONTINUE] < amount_required || choices[VOTE_TRANSFER] > choices[VOTE_CONTINUE])
// GS13 END EDIT
winners = list(VOTE_TRANSFER)
else
winners = list(VOTE_CONTINUE)