Neumond probably thoughts it would be cool to make a file observer
that reloads the VFS each time the map change, was a nice idea.
Badly, it makes the VFS reloading itself before saving a map,
losing the current work done.
Hopefull, since I added a “Refresh” ability that refreshes the VFS
without reloading the map, we can just use that Regresh ability
instead.
class MapFileObserver : public ModuleObserver
{
void realise() {
- // Restart VFS to apply new pak filtering based on mapname
+ // Refresh VFS to apply new pak filtering based on mapname
// needed for daemon dpk vfs
- VFS_Restart();
+ VFS_Refresh();
}
void unrealise() { }
};