From 9c1afaa372f68f5b82fac6ce037358a2dad512f8 Mon Sep 17 00:00:00 2001 From: Alibek Omarov Date: Mon, 20 Nov 2023 01:46:56 +0300 Subject: [PATCH] filesystem: fix noskills being written as nomodels in gameinfo.txt --- filesystem/filesystem.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/filesystem/filesystem.c b/filesystem/filesystem.c index 4920c991..dad18113 100644 --- a/filesystem/filesystem.c +++ b/filesystem/filesystem.c @@ -603,7 +603,7 @@ static void FS_WriteGameInfo( const char *filepath, gameinfo_t *GameInfo ) } if( GameInfo->noskills ) - FS_Printf( f, "noskills\t\t\"%i\"\n", GameInfo->nomodels ); + FS_Printf( f, "noskills\t\t\"%i\"\n", GameInfo->noskills ); #define SAVE_AGED_COUNT 2 // the default count of quick and auto saves if( GameInfo->quicksave_aged_count != SAVE_AGED_COUNT )