MENY
[carveJwlIkooP6JGAAIwe30JlM.git] / server.c
index 8225c6ecf988cd2071114e6b7617266a47cb7902..d5d5d91f10291c708a6faa28c75ae27573a36f49 100644 (file)
--- a/server.c
+++ b/server.c
@@ -332,8 +332,12 @@ int main( int argc, char *argv[] )
 {
    signal( SIGINT, inthandler );
    signal( SIGQUIT, inthandler );
+   
+   /* TODO: Options to override, ammend, remove etc */
 
    highscores_init( 250000, 10000 );
+   if( !highscores_read() )
+      highscores_create_db();
 
    steamworks_ensure_txt( "2103940" );
    if( !vg_load_steam_symetric_key( "application_key", steam_symetric_key ) )