purchase buffs menu works
This commit is contained in:
parent
3737ad517c
commit
79cd331141
6 changed files with 222 additions and 7 deletions
|
|
@ -149,6 +149,14 @@ namespace TD.Gameplay
|
|||
// Right-click. Suppressed entirely during a modal mode (placement/paint
|
||||
// controllers handle right-click as cancel there) and when over HUD.
|
||||
if (isModal) return;
|
||||
|
||||
// B: toggle buff menu.
|
||||
if (keyboard != null && keyboard.bKey.wasPressedThisFrame
|
||||
&& !HUDController.IsTextInputActive)
|
||||
{
|
||||
HUDController.Instance?.ToggleBuffMenu();
|
||||
}
|
||||
|
||||
if (pointerOverHud) return;
|
||||
if (!mouse.rightButton.wasPressedThisFrame) return;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue