From 45fcc9de29de762e8dde20a50db4a3184c830e42 Mon Sep 17 00:00:00 2001 From: PilzAdam Date: Sat, 18 May 2013 17:00:47 +0200 Subject: New modsystem Mods are placed in $path_/mods They can be enabled per world in world.mt or the configure world window --- src/subgame.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/subgame.cpp') diff --git a/src/subgame.cpp b/src/subgame.cpp index cdb546619..7fee3899d 100644 --- a/src/subgame.cpp +++ b/src/subgame.cpp @@ -91,9 +91,9 @@ SubgameSpec findSubgame(const std::string &id) // Find mod directories std::set mods_paths; if(!user_game) - mods_paths.insert(share + DIR_DELIM + "mods" + DIR_DELIM + id); + mods_paths.insert(share + DIR_DELIM + "mods"); if(user != share || user_game) - mods_paths.insert(user + DIR_DELIM + "mods" + DIR_DELIM + id); + mods_paths.insert(user + DIR_DELIM + "mods"); std::string game_name = getGameName(game_path); if(game_name == "") game_name = id; -- cgit v1.2.3