mirror of
https://github.com/tobspr/shapez.io.git
synced 2025-06-13 13:04:03 +00:00
fix button right click bug
This commit is contained in:
parent
868f9bc06a
commit
85ff62fa78
@ -21,9 +21,6 @@ export class HUDLeverToggle extends BaseHUDPart {
|
||||
if (button === enumMouseButton.left) {
|
||||
leverComp.toggled = !leverComp.toggled;
|
||||
return STOP_PROPAGATION;
|
||||
} else if (button === enumMouseButton.right) {
|
||||
this.root.logic.tryDeleteBuilding(contents);
|
||||
return STOP_PROPAGATION;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user