From 0e16cc3b487f03788d9d80957c0fdfe14201f626 Mon Sep 17 00:00:00 2001 From: Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> Date: Mon, 20 Jun 2022 18:27:25 +0800 Subject: + make it send to everyone in lobby if party size under 1 --- features/events/index.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'features') diff --git a/features/events/index.js b/features/events/index.js index 19ff72f..04f5879 100644 --- a/features/events/index.js +++ b/features/events/index.js @@ -241,7 +241,7 @@ class Events extends Feature { if (self) { let pmemb = [] this.FeatureManager.features["dataLoader"].class.partyMembers.forEach(a => pmemb.push(a)) - socketConnection.sendInquisData({ loc: [Math.round(Player.getX()), Math.round(Player.getY()), Math.round(Player.getZ())], pmemb, limitPMemb: pmemb.length !== 0 && this.limitPMemb.getValue() }); + socketConnection.sendInquisData({ loc: [Math.round(Player.getX()), Math.round(Player.getY()), Math.round(Player.getZ())], pmemb, limitPMemb: pmemb.length > 1 && this.limitPMemb.getValue() }); this.inquisWaypointSpawned = true } } -- cgit