Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Trench - Can Dig fnc returning non-bool #7515

Closed
dedmen opened this issue Feb 8, 2020 · 0 comments · Fixed by #7516
Closed

Trench - Can Dig fnc returning non-bool #7515

dedmen opened this issue Feb 8, 2020 · 0 comments · Fixed by #7516
Labels
Milestone

Comments

@dedmen
Copy link
Contributor

dedmen commented Feb 8, 2020

Mods (complete and add to the following information):

  • ACE3: master branch

Description:

20:07:42 Error in expression <ayer call ace_trenches_fnc_canDigTrench && {[ACE_player,  _target,  []] call ace>
20:07:42   Error position: <&& {[ACE_player,  _target,  []] call ace>
20:07:42   Error Generic error in expression

->

player call ace_trenches_fnc_canDigTrench
-> 0
player call ace_common_fnc_canDig
-> 0

* Return Value:
* Can Dig <BOOL>

if (isNumber (_config >> "ACE_canDig")) then {
getNumber (_config >> "ACE_canDig") // return
} else {

returns number but says it returns bool.

then tries to number && {...} -> generic error.

@dedmen dedmen added the kind/bug label Feb 8, 2020
@PabstMirror PabstMirror changed the title Bug Trench - Can Dig fnc Bug Feb 8, 2020
@PabstMirror PabstMirror added this to the 3.13.1 milestone Feb 8, 2020
@dedmen dedmen changed the title Trench - Can Dig fnc Bug Trench - Can Dig fnc returning non-bool Feb 10, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants