Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Prefer _game postfix in game names (to be squashed to the previous co…

…mmit)
  • Loading branch information...
commit bd9912213f459d2b86154d17a2cbbe09c4ab562e 1 parent 814ada5
@celeron55 authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 src/subgame.cpp
View
6 src/subgame.cpp
@@ -54,13 +54,13 @@ SubgameSpec findSubgame(const std::string &id)
std::string user = porting::path_user;
std::vector<GameFindPath> find_paths;
find_paths.push_back(GameFindPath(
- user + DIR_DELIM + "games" + DIR_DELIM + id, true));
- find_paths.push_back(GameFindPath(
user + DIR_DELIM + "games" + DIR_DELIM + id + "_game", true));
find_paths.push_back(GameFindPath(
- share + DIR_DELIM + "games" + DIR_DELIM + id, false));
+ user + DIR_DELIM + "games" + DIR_DELIM + id, true));
find_paths.push_back(GameFindPath(
share + DIR_DELIM + "games" + DIR_DELIM + id + "_game", false));
+ find_paths.push_back(GameFindPath(
+ share + DIR_DELIM + "games" + DIR_DELIM + id, false));
// Find game directory
std::string game_path;
bool user_game = true; // Game is in user's directory
Please sign in to comment.
Something went wrong with that request. Please try again.