Clicked

Clicked

294k Downloads

Lua logic error when right clicking

KyrosKrane opened this issue ยท 1 comments

commented

Describe the bug

I noticed a tiny lua logic error. In

if binding.actionType == Clicked.ActionType.UNIT_SELECT or Clicked.ActionType.UNIT_MENU then
you have:

	if binding.actionType == Clicked.ActionType.UNIT_SELECT or Clicked.ActionType.UNIT_MENU then

But it looks like it should be

	if binding.actionType == Clicked.ActionType.UNIT_SELECT or binding.actionType ==  Clicked.ActionType.UNIT_MENU then

The error is mostly harmless, as the constant would evaluate to true anyway, but it's probably worth correcting.

Clicked Version

Version: 1.16.11

World of Warcraft Flavor

Retail

Tried with only Clicked enabled

  • Yes
  • No

Lua Errors

No response

Reproduction Steps

Lua error, no repro steps needed.

Last Working Version

No response

Screenshots

No response

Debug Output

No response

commented

Oh good catch, thank you!