diff options
author | Holger Zickner <[email protected]> | 2005-05-14 10:10:45 +0000 |
---|---|---|
committer | Holger Zickner <[email protected]> | 2005-05-14 10:10:45 +0000 |
commit | 75b51e43d2be15c333fdfa81f61dc532ce1ef78c (patch) | |
tree | 10d67836b6df9a4eb27869997e79930628242f89 /src/jake2/client/CL.java | |
parent | 70af2ed3587c2cead200aba63d201501da67af3c (diff) |
write config.cfg as soon as baseq2 is initialized to avoid questioning again
Diffstat (limited to 'src/jake2/client/CL.java')
-rw-r--r-- | src/jake2/client/CL.java | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/jake2/client/CL.java b/src/jake2/client/CL.java index a5d6fb0..fd1c4d0 100644 --- a/src/jake2/client/CL.java +++ b/src/jake2/client/CL.java @@ -2,7 +2,7 @@ * CL.java * Copyright (C) 2004 * - * $Id: CL.java,v 1.20 2005-02-08 21:48:21 cawe Exp $ + * $Id: CL.java,v 1.21 2005-05-14 10:10:44 hzi Exp $ */ /* Copyright (C) 1997-2001 Id Software, Inc. @@ -1426,12 +1426,12 @@ public final class CL { * * Writes key bindings and archived cvars to config.cfg =============== */ - static void WriteConfiguration() { + public static void WriteConfiguration() { RandomAccessFile f; String path; - if (Globals.cls.state == Defines.ca_uninitialized) - return; +// if (Globals.cls.state == Defines.ca_uninitialized) +// return; path = FS.Gamedir() + "/config.cfg"; f = Lib.fopen(path, "rw"); |