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

virtualMass - Fix div0 error when naked #3893

Merged
merged 1 commit into from
Jun 10, 2016
Merged

virtualMass - Fix div0 error when naked #3893

merged 1 commit into from
Jun 10, 2016

Conversation

PabstMirror
Copy link
Contributor

Playing as animal or human and removing everything throws div0 error as load _unit is 0.

@commy2 as best I can tell loadAbs _unit / load _unit; is the same as the config

class CfgInventoryGlobalVariable {
    maxSoldierLoad = 1000;
};

So using that should be faster and prevent the error.

@PabstMirror PabstMirror added the kind/bug-fix Release Notes: **FIXED:** label Jun 10, 2016
@PabstMirror PabstMirror added this to the 3.6.0 milestone Jun 10, 2016
@commy2 commy2 merged commit a4bd6ea into master Jun 10, 2016
@commy2 commy2 deleted the virtualMasDiv0 branch June 10, 2016 08:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug-fix Release Notes: **FIXED:**
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants