mirror of
https://github.com/AsgardEternal/SquadJS.git
synced 2024-09-28 11:54:23 -05:00
Merge pull request #142 from milutinke/master
Intervalled Broadcasts plugin causes a crash
This commit is contained in:
commit
c8a26544de
@ -44,6 +44,6 @@ export default class IntervalledBroadcasts extends BasePlugin {
|
||||
|
||||
async broadcast() {
|
||||
await this.server.rcon.broadcast(this.options.broadcasts[0]);
|
||||
this.broadcasts.push(this.options.broadcasts.shift());
|
||||
this.options.broadcasts.push(this.options.broadcasts.shift());
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user