From 676b14ff8e0cd99798e65fd87963d95bb5c3da74 Mon Sep 17 00:00:00 2001 From: CosminPerRam Date: Fri, 27 Oct 2023 18:21:59 +0300 Subject: [PATCH] Stabilize numplayers on kspdmp --- protocols/kspdmp.js | 1 + 1 file changed, 1 insertion(+) diff --git a/protocols/kspdmp.js b/protocols/kspdmp.js index 8038252a..f0f9efc4 100644 --- a/protocols/kspdmp.js +++ b/protocols/kspdmp.js @@ -23,5 +23,6 @@ export default class kspdmp extends Core { state.players.push({ name }) } } + state.numplayers = state.players.length } }