From 75b51e43d2be15c333fdfa81f61dc532ce1ef78c Mon Sep 17 00:00:00 2001 From: Holger Zickner Date: Sat, 14 May 2005 10:10:45 +0000 Subject: write config.cfg as soon as baseq2 is initialized to avoid questioning again --- src/jake2/client/CL.java | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/jake2/client/CL.java') 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"); -- cgit v1.2.3