细节调整
This commit is contained in:
@@ -45,7 +45,9 @@ const createPractise = async (arrows) => {
|
||||
async function onReceiveMessage(messages = []) {
|
||||
messages.forEach((msg) => {
|
||||
if (msg.constructor === MESSAGETYPES.ShootSyncMeArrowID) {
|
||||
scores.value.push(msg.target);
|
||||
if (scores.value.length < total) {
|
||||
scores.value.push(msg.target);
|
||||
}
|
||||
power.value = msg.target.battery;
|
||||
// if (step.value === 2 && msg.target.dst / 100 > 5) {
|
||||
// if (step.value === 2 && msg.target.dst > 5) {
|
||||
|
||||
Reference in New Issue
Block a user