]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
Fix a fclose() I forgot to add for the database loading
authorMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Tue, 8 Nov 2011 13:51:47 +0000 (15:51 +0200)
committerMircea Kitsune <sonichedgehog_hyperblast00@yahoo.com>
Tue, 8 Nov 2011 13:51:47 +0000 (15:51 +0200)
qcsrc/server/mutators/sandbox.qc

index bb6b3e647b6c38dddf76f40d1ccac97f17d33fda..6514dccba7d312a90647e9b4e1909b30c7bcd210 100644 (file)
@@ -395,6 +395,7 @@ void sandbox_Database_Load()
                if(autocvar_g_sandbox_info > 0)
                        print(strcat("^3SANDBOX - SERVER: ^7successfully loaded storage file ^3", file_name, "\n"));
        }
+       fclose(file_get);
 }
 
 MUTATOR_HOOKFUNCTION(sandbox_PlayerCommand)