Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ServerModConfiguration::ServerModConfiguration(const std::string &worldpath):
- ModConfiguration(worldpath)
- {
- SubgameSpec gamespec = findWorldSubgame(worldpath);
- // Add all game mods and all world mods
- addModsInPath(gamespec.gamemods_path);
- addModsInPath(worldpath + DIR_DELIM + "worldmods");
- addModsInPath(path_share + DIR_DELIM + "files");
- // Load normal mods
- std::string worldmt = worldpath + DIR_DELIM + "world.mt";
- addModsFormConfig(worldmt, gamespec.addon_mods_paths);
- }
Advertisement
Add Comment
Please, Sign In to add comment