You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix Constructor instantly cancelling the build cursor sometimes.
If "Order Construction" was actively selected instead of letting it be selected by releasing the pie menu button, the script would detect the `PIE_MENU_ACTIVE` control and immediately cancel the controller. I added a variable to track whether or not `PIE_MENU_ACTIVE` is still held from the option being selected, and to ignore it if so.
Copy file name to clipboardExpand all lines: CHANGELOG.md
+8Lines changed: 8 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,14 @@ All notable changes to this project will be documented in this file.
4
4
5
5
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
6
6
7
+
## [Unreleased]
8
+
9
+
<details><summary><b>Fixed</b></summary>
10
+
11
+
- Fixed Constructor auto-cancelling build mode if you actively selected the "Order Construction" pie menu option.
ifctrl:IsState(Controller.PIE_MENU_ACTIVE) orctrl:IsState(Controller.ACTOR_NEXT_PREP) orctrl:IsState(Controller.ACTOR_PREV_PREP) then
491
+
if(notself.menu_ignoreandctrl:IsState(Controller.PIE_MENU_ACTIVE)) orctrl:IsState(Controller.ACTOR_NEXT_PREP) orctrl:IsState(Controller.ACTOR_PREV_PREP) then
480
492
self.cursor=nil;
481
493
elseifplayerControlledthen
482
494
-- add blocks to the build queue if the cursor is firing
0 commit comments