-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Gem/Placement] Detect
Esc
key while building
Issue: #416 In order to cancel construction, one must select the building being constructed. This, however, is error prone. There is a short time window in which to do this. One also must select the building. An alternative option would be to automatically select the unit. However, that prevents giving the building multiple orders. As such, we detect usage of the escape key. If the builder is selected and building, we cancel construction of the building.
- Loading branch information
Showing
1 changed file
with
51 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters