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

Small error in CUP Enabled logic #543

Closed
morgoth0 opened this issue May 29, 2016 · 1 comment
Closed

Small error in CUP Enabled logic #543

morgoth0 opened this issue May 29, 2016 · 1 comment

Comments

@morgoth0
Copy link
Contributor

@morgoth0 morgoth0 commented May 29, 2016

Was making a couple of changes in server_init and I noticed the following two lines:

EPOCH_modCUPWeaponsEnabled = (getNumber (configFile >> "CfgPatches" >> "CUP_WheeledVehicles_Core" >> "requiredVersion") > 0);
EPOCH_modCUPVehiclesEnabled = (getNumber (configFile >> "CfgPatches" >> "CUP_Weapons_WeaponsCore" >> "requiredVersion") > 0);

This would be a problem for those only using CUP Weapons since the patch check is reversed, i.e. WeaponsEnabled is set by the Vehicles addon and vice versa.

@vbawol
Copy link
Member

@vbawol vbawol commented May 29, 2016

Wow, I really need to get those glasses. This will be fixed in next experimental build.

Thanks!

@vbawol vbawol closed this May 29, 2016
vbawol added a commit that referenced this issue May 29, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants
You can’t perform that action at this time.