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

Allow mods to override the GameInfoClass #267

Open
robojumper opened this issue Jun 6, 2017 · 0 comments
Open

Allow mods to override the GameInfoClass #267

robojumper opened this issue Jun 6, 2017 · 0 comments

Comments

@robojumper
Copy link
Member

XComGameInfo.SetGameType is used to find out the game info class (XComTacticalGame, XComHeadquartersGame, ...) depending on the map type. It will always fall back to XComTacticalGame if the map isn't recognized.

This function should be opened up to mods to allow custom game modes or overrides.

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

1 participant