CnCNet / xna-cncnet-client

XNA / MonoGame based client for playing classic Command & Conquer games both online and offline with a CnCNet game spawner.
Other
228 stars 91 forks source link

Improve ini config file locating #314

Closed devo1929 closed 2 years ago

devo1929 commented 2 years ago

This slightly improves the backwards compatibility of the new INItializableWindow implementation.

With the initial INItializableWindow updates, there seemed to be no inheritance of which ini config file to load for a given class implementing INItializableWindow. If it has an override ini name, it would attempt to use it, but not fall back to the name of the control itself, which could be the parent class' name.

github-actions[bot] commented 2 years ago

Nightly build for this pull request: