Load client mods into memory before execution.
[oweals/minetest.git] / src / client / client.h
index e3c931837754eb0fba0b9b4a5824807321074d23..40ad4c064ae4bb7bb19b2183cde72f8b771bf5e2 100644 (file)
@@ -576,8 +576,6 @@ private:
        // Storage for mesh data for creating multiple instances of the same mesh
        StringMap m_mesh_data;
 
-       StringMap m_mod_files;
-
        // own state
        LocalClientState m_state;
 
@@ -588,11 +586,13 @@ private:
        IntervalLimiter m_localdb_save_interval;
        u16 m_cache_save_interval;
 
+       // Client modding
        ClientScripting *m_script = nullptr;
        bool m_modding_enabled;
        std::unordered_map<std::string, ModMetadata *> m_mod_storages;
        float m_mod_storage_save_timer = 10.0f;
        std::vector<ModSpec> m_mods;
+       StringMap m_mod_vfs;
 
        bool m_shutdown = false;