mirror of
https://github.com/AsgardEternal/squad-js-map-vote.git
synced 2025-01-23 16:03:53 -06:00
fixed bug where player disconects were changing next layer when vote was not running
This commit is contained in:
parent
9754bc8416
commit
96305ec5c4
@ -142,6 +142,7 @@ export default class MapVote extends BasePlugin
|
||||
|
||||
async onPlayerDisconnected()
|
||||
{
|
||||
if (!this.votingEnabled) return;
|
||||
await this.server.updatePlayerList();
|
||||
this.clearVote();
|
||||
this.updateNextMap();
|
||||
|
Loading…
x
Reference in New Issue
Block a user