diff options
Diffstat (limited to 'game/shared/game.cc')
| -rw-r--r-- | game/shared/game.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/game/shared/game.cc b/game/shared/game.cc index 62eaf13..94c2c1f 100644 --- a/game/shared/game.cc +++ b/game/shared/game.cc @@ -6,7 +6,7 @@ static std::filesystem::path get_gamepath(void) { - if(auto gamepath = io::cmdline::get("gamepath")) { + if(auto gamepath = io::cmdline::get_cstr("gamepath")) { // Allow users and third-party launchers to override // content location. Perhaps this would work to allow // for a Minecraft-like versioning approach? @@ -18,7 +18,7 @@ static std::filesystem::path get_gamepath(void) static std::filesystem::path get_userpath(void) { - if(auto userpath = io::cmdline::get("userpath")) { + if(auto userpath = io::cmdline::get_cstr("userpath")) { // Allow users and third-party launchers to override // user data location. Perhaps this would work to allow // for a Minecraft-like versioning approach? |
