refactor: distribute to destination

This commit is contained in:
cha0s 2024-09-29 06:31:30 -05:00
parent 1c88b32bad
commit fec717cbe1

View File

@ -465,7 +465,15 @@ function Ui({disconnected}) {
else if (hadBufferSlot.current) { else if (hadBufferSlot.current) {
client.send({ client.send({
type: 'Action', type: 'Action',
payload: {type: 'swapSlots', value: [0, mainEntityRef.current, i + 1]}, payload: {
type: 'distribute',
value: [
0,
[
[mainEntityRef.current, i + 1],
],
],
},
}); });
} }
else { else {