Skip to content

Commit

Permalink
[MIRROR] actually log total vote votes correctly [MDB IGNORE] (#25741) (
Browse files Browse the repository at this point in the history
#1217)

* actually log total vote votes correctly (#80438)

yeah i goofed

* actually log total vote votes correctly

---------

Co-authored-by: SkyratBot <[email protected]>
Co-authored-by: Zephyr <[email protected]>
  • Loading branch information
3 people authored Dec 20, 2023
1 parent b4fc9e8 commit e99b3fc
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions code/controllers/subsystem/vote.dm
Original file line number Diff line number Diff line change
Expand Up @@ -90,6 +90,7 @@ SUBSYSTEM_DEF(vote)
var/list/vote_choice_data = list()
for(var/choice in current_vote.choices)
var/choice_votes = current_vote.choices[choice]
total_votes += choice_votes
vote_choice_data["[choice]"] = choice_votes

// stringify the winners to prevent potential unimplemented serialization errors.
Expand Down

0 comments on commit e99b3fc

Please sign in to comment.