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

Fix rulesINI not resetting all data after loading mod map and then loading another map #451

Open
wants to merge 1 commit into
base: vanilla
Choose a base branch
from

Conversation

mvdhout1992
Copy link

The issue is that RulesClass data isn't reset between map loads. The only data reset is the data defined in Rules.INI, Aftermath.INi and MPlayer.INI. Certain Counterstrike levels like 'Legacy of Tesla' give the Allies Mobile Radar Jammer unit a Tesla weapon. After playing the map the Mobile Radar Jammer will have Tesla weapon until the game is exited to desktop.

This code also fixes the issue of buildings and vessels with BuildLevel set to -1 not loading cameo data. It also fixes the issue that MPLAYER.INI rules changes overwrite map ones.

@OmniBlade OmniBlade force-pushed the vanilla branch 3 times, most recently from 67febe4 to e6cd02d Compare April 1, 2021 12:32
…es isse with not all RulesClass data resetting after loading a mod map
@OmniBlade OmniBlade force-pushed the fix_rulesclass_map_settings_not_clearing_correctly branch from 01e0fc4 to 2185010 Compare June 19, 2024 11:12
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 this pull request may close these issues.

1 participant