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

Trouble telling whether a unit is valid or not #471

Closed
assaultdoor opened this issue Feb 20, 2020 · 0 comments · Fixed by #481
Closed

Trouble telling whether a unit is valid or not #471

assaultdoor opened this issue Feb 20, 2020 · 0 comments · Fixed by #481

Comments

@assaultdoor
Copy link

Using MML 0.47.4 on OS X, I can't always tell from the title bar of the window whether a unit is valid or not. Valid units sometimes have "(Invalid)" after the unit's name, and invalid units sometimes don't have "(Invalid)".

Case 1: Invalid vehicle with out (Invalid) appearing.

I load a valid unit. In this example, and Ajax Assault Tank A.

Unit Validation > Validate Units says it is valid.

Now I add a PPC, putting it 7 tons overweight and leaving it with one item that hasn't been assigned a critical location. The title bar still just reads "Ajax Assault Tank A.blk".

Unit Validation > Validate Unit says it is overweight and has an unallocated PPC. The title bar still just reads "Ajax Assault Tank A.blk".

Pressing Cmd+S to save the unit does nothing. Pressing Cmd+Shift+S to save as gives me a warning about saving an invalid unit.

Case 2: Valid vehicle still has an (Invalid) in the title bar.

I create a new support vehicle. The title bar reads "New Support Tank.blk (Invalid)"

Unit Validation > Validate Unit correctly says that it is invalid because ICE engines must have fuel.

Give it 0.5 tons of fuel. "(Invalid)" remains in the title bar.

Unit Validation > Validate Unit correctly says that it is valid. "(Invalid)" remains in the title bar.

Cmd+S to save the unit brings up the standard save window with no warning about saving an invalid unit.

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

Successfully merging a pull request may close this issue.

1 participant