-
Notifications
You must be signed in to change notification settings - Fork 737
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
Repair - Fix facility is like vehicle #6478
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
good catch
I'm not sure, but should we also change the default setting to https://github.com/acemod/ACE3/blob/master/addons/repair/initSettings.sqf#L61 |
Looks like it was always default ACE3/addons/repair/ACE_Settings.hpp Lines 47 to 48 in 83f46be
repairFacilityOnly as default: ACE3/addons/repair/CfgVehicles.hpp Line 80 in 83f46be
So I think at least his opinion is important. |
@Dystopian You mean |
@SilentSpike No, I meant exactly ACE3/addons/repair/ACE_Settings.hpp Lines 54 to 55 in 83f46be
|
And it was fixed in #2364 😆 Then |
When merged this pull request will:
fnc_isInRepairFacility
a little.(1) Config-based facilities have the same config value name as repair vehicles (
GVAR(canRepair)
). When there is a dead config-based repair vehicle near it becomes repair facility and can affect repair routines. This PR excludesAllVehicles
child classes from facilities. Maybe simulation check would be more efficient but I think it's OK.