mirror of
https://github.com/wanderer-industries/wanderer
synced 2025-12-11 18:26:04 +00:00
fix(Map): Fixed problem with ship size change.
This commit is contained in:
@@ -97,6 +97,7 @@ export const useContextMenuConnectionHandlers = () => {
|
|||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
if (status === ShipSizeStatus.small) {
|
||||||
outCommand({
|
outCommand({
|
||||||
type: OutCommand.updateConnectionMassStatus,
|
type: OutCommand.updateConnectionMassStatus,
|
||||||
data: {
|
data: {
|
||||||
@@ -105,6 +106,7 @@ export const useContextMenuConnectionHandlers = () => {
|
|||||||
value: MassState.normal,
|
value: MassState.normal,
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
}
|
||||||
}, []);
|
}, []);
|
||||||
|
|
||||||
const onToggleMassSave = useCallback((locked: boolean) => {
|
const onToggleMassSave = useCallback((locked: boolean) => {
|
||||||
|
|||||||
Reference in New Issue
Block a user