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

X2FacilityTemplate is limited in terms of what soldiers it can show by default #265

Open
RealityMachina opened this issue May 31, 2017 · 0 comments

Comments

@RealityMachina
Copy link

Specifically, in X2FacilityTemplate.PlaceCrewMember(), when it comes to placing soldiers, it checks them by GetMyTemplateName() == 'Soldier' instead of IsSoldier(), which is an unnecessary restriction as the game checks whether the unit can appear in the base at all beforehand, so disallowed units like SPARK wouldn't appear anyway.

Altering this to use the IsSoldier() check would be appreciated as it would expand the number of appearances of Allies Unknown soldiers in the base beyond just the staff slot ones.

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

No branches or pull requests

2 participants