diff --git a/mapvote.js b/mapvote.js index 7519a19..a25f3ee 100644 --- a/mapvote.js +++ b/mapvote.js @@ -142,6 +142,7 @@ export default class MapVote extends BasePlugin async onPlayerDisconnected() { + if (!this.votingEnabled) return; await this.server.updatePlayerList(); this.clearVote(); this.updateNextMap();