diff options
author | Perttu Ahola <celeron55@gmail.com> | 2012-03-15 18:15:12 +0200 |
---|---|---|
committer | Perttu Ahola <celeron55@gmail.com> | 2012-03-15 18:15:12 +0200 |
commit | 60add387e3f71f739b76268c74e8ded3f3b4584d (patch) | |
tree | 5d1a5854ff2adb11c0cf0b830cad83eaa5d84077 /src/main.cpp | |
parent | ca0fd4173cb18dd54219a1e8f05ec412e4d707ec (diff) | |
download | minetest-60add387e3f71f739b76268c74e8ded3f3b4584d.tar.gz minetest-60add387e3f71f739b76268c74e8ded3f3b4584d.tar.bz2 minetest-60add387e3f71f739b76268c74e8ded3f3b4584d.zip |
Create main menu tab "Settings" for client settings
Diffstat (limited to 'src/main.cpp')
-rw-r--r-- | src/main.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp index 3e4686134..d08f88417 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -1043,6 +1043,11 @@ int main(int argc, char *argv[]) } } + if(world_path == ""){ + errorstream<<"No world path specified or found."<<std::endl; + return 1; + } + // Gamespec std::string world_gameid = getWorldGameId(world_path, is_legacy_world); SubgameSpec gamespec = findSubgame(world_gameid); |