CnCNet / xna-cncnet-client

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

#352: Add custom map directory file watcher #358

Open alexlambson opened 2 years ago

alexlambson commented 2 years ago

Issue: https://github.com/CnCNet/xna-cncnet-client/issues/352

github-actions[bot] commented 2 years ago

Nightly build for this pull request:

alexlambson commented 1 year ago

I think I addressed all the feedback

alexlambson commented 1 year ago

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.