Correct init_userdef_file to not overwrite CollectRate and Image TimeOut every time it loads.

This commit is contained in:
Martin Poirier
2005-07-27 07:50:28 +00:00
parent 2e73199ea7
commit 21e59fd927

View File

@@ -240,8 +240,10 @@ static void init_userdef_file(void)
if (U.undosteps==0) U.undosteps=32;
/* GL Texture Garbage Collection (variable abused above!) */
U.texcollectrate = 60;
U.textimeout = 120;
if (U.textimeout == 0) {
U.texcollectrate = 60;
U.textimeout = 120;
}
reset_autosave();