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

Can't repair car engine/body because of script error #2643

Closed
Dystopian opened this issue Sep 28, 2015 · 1 comment
Closed

Can't repair car engine/body because of script error #2643

Dystopian opened this issue Sep 28, 2015 · 1 comment
Assignees
Labels
Milestone

Comments

@Dystopian
Copy link
Contributor

ACE3 Version: 3.3.2

Steps to reproduce:

  1. damage car engine/body
  2. try to repair it
  3. nothing happens and there is "Undefined var" script error in ace_repair\functions \fnc_canMiscRepair.sqf

Fix
https://github.com/acemod/ACE3/blob/v3.3.2/addons/repair/functions/fnc_canMiscRepair.sqf#L23

params ["_caller", "_target", "_hitPoint"];

if !([_unit, _target, ...

Replace "_unit" with "_caller". Or replace "_caller" with "_unit" in other 2 lines.

@PabstMirror PabstMirror self-assigned this Sep 29, 2015
@PabstMirror PabstMirror added this to the 3.4.0 milestone Sep 29, 2015
@PabstMirror
Copy link
Contributor

Bug is my fault, fixed in PR #2616

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants