about summary refs log tree commit diff
path: root/src/game/client
diff options
context:
space:
mode:
authorJakob Fries <jakob.fries@gmail.com>2007-08-05 15:23:23 +0000
committerJakob Fries <jakob.fries@gmail.com>2007-08-05 15:23:23 +0000
commit6ec3e70babf3d54191b989dee9cd2496788cab60 (patch)
tree83747f5525b4a701541aef73d44b7cc7b6c17d06 /src/game/client
parent98a3d5444c2839959439e2574e14c6aa8f4d62f6 (diff)
downloadzcatch-6ec3e70babf3d54191b989dee9cd2496788cab60.tar.gz
zcatch-6ec3e70babf3d54191b989dee9cd2496788cab60.zip
config is now stored in ~/teewars on macs
Diffstat (limited to 'src/game/client')
-rw-r--r--src/game/client/menu.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/game/client/menu.cpp b/src/game/client/menu.cpp
index 805da622..3066819c 100644
--- a/src/game/client/menu.cpp
+++ b/src/game/client/menu.cpp
@@ -992,7 +992,11 @@ static int settings_render()
 	if (ui_do_button(&save_button, "Save", 0, 482, 490, 128, 48, draw_teewars_button))
 	{
 		config = config_copy;
+#ifdef CONF_PLATFORM_MACOSX
+		config_save("~/.teewars");
+#else
 		config_save("default.cfg");
+#endif
 		screen = SCREEN_MAIN;
 	}