BanchoLobbyRegexes: Make playerFinished return score as a Number

parent 50d52a5f
......@@ -185,7 +185,7 @@ module.exports = {
const m = r.exec(str);
return {
username: m[1],
score: m[2],
score: Number(m[2]),
pass: m[3] == "PASS"
};
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment