Skip to content

Commit

Permalink
Update ControlBot.js
Browse files Browse the repository at this point in the history
- Fix leftover `votes` reference
  • Loading branch information
theBGuy committed Jan 17, 2025
1 parent cff01fe commit 899d14c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion d2bs/kolbot/libs/scripts/ControlBot.js
Original file line number Diff line number Diff line change
Expand Up @@ -1165,7 +1165,7 @@ const ControlBot = new Runnable(
hostileCheck: false,
run: function (nick) {
if (ngVote.active) {
Chat.say("NGVote is already active. Current count: " + ngVote.votes.size);
Chat.say("NGVote is already active. Current count: " + ngVote.votesYes.size);
return;
}
if (getTickCount() - startTime < Time.minutes(3)) {
Expand Down

0 comments on commit 899d14c

Please sign in to comment.