Open alexlambson opened 2 years ago
Nightly build for this pull request:
I think I addressed all the feedback
Does this currently handle a case where existing custom maps are modified? If that is done, the SHA1 for the map in question needs to be recalculated. See
FileSystemWatcher.Changed
event.
It does not, but the map will still load if you try to play it. The Client can already handle that case. I often just save the map in FA2 then just click "play" and it works.
CustomMapsDirectory
field toMapLoader
to avoid hard coded strings.GetLoadedMapBySha1
to remove some duplicateGameModeMaps.Find()
.RefreshGameModeDropdown
to modify the dropdown after client is loaded. The function is a bit complicated due to doing inline modifications to the items and keeping the selected mode.Issue: https://github.com/CnCNet/xna-cncnet-client/issues/352