diff options
author | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-06-20 18:27:25 +0800 |
---|---|---|
committer | Soopyboo32 <49228220+Soopyboo32@users.noreply.github.com> | 2022-06-20 18:27:25 +0800 |
commit | 0e16cc3b487f03788d9d80957c0fdfe14201f626 (patch) | |
tree | a3da4686e9156033c5e9b610e9793a444a9e7d72 /features/events | |
parent | 57d3f7b6eeceed759e14e0c7f15d639cd9932a79 (diff) | |
download | SoopyV2-0e16cc3b487f03788d9d80957c0fdfe14201f626.tar.gz SoopyV2-0e16cc3b487f03788d9d80957c0fdfe14201f626.tar.bz2 SoopyV2-0e16cc3b487f03788d9d80957c0fdfe14201f626.zip |
+ make it send to everyone in lobby if party size under 1
Diffstat (limited to 'features/events')
-rw-r--r-- | features/events/index.js | 2 |
1 files changed, 1 insertions, 1 deletions
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 } } |