[MIRROR] actually log total vote votes correctly [MDB IGNORE] (#25741)

* actually log total vote votes correctly (#80438)

yeah i goofed

* actually log total vote votes correctly

---------

Co-authored-by: Zephyr <12817816+ZephyrTFA@users.noreply.github.com>
This commit is contained in:
SkyratBot
2023-12-20 05:00:37 +01:00
committed by GitHub
parent b3e520b9ad
commit d6b5e46172

View File

@@ -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.