Skip to content

doubleSwitchEnabledMinutes is being instead of switchEnabledMinutes for warnings #10

@lbzepoqo

Description

@lbzepoqo

On the condition the value of switchEnabledMinutes is being used but doubleSwitchEnabledMinutes is used on the warning which could lead to misunderstanding.

if (this.getSecondsFromJoin(steamID) / 60 > this.options.switchEnabledMinutes && this.getSecondsFromMatchStart() / 60 > this.options.switchEnabledMinutes) {
this.warn(steamID, `A switch can be requested only in the first ${this.options.doubleSwitchEnabledMinutes} mintues from match start or connection to the server`);

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions