Fixed crashing metaserver at first start
This commit is contained in:
parent
f2e8a3b060
commit
ab05394bc0
1 changed files with 2 additions and 1 deletions
|
@ -112,6 +112,7 @@ static sqlite3 *DB;
|
|||
static int DBMaxIDCallback(void *password, int argc, char **argv, char **colname)
|
||||
{
|
||||
Assert(argc == 1);
|
||||
if (argv[0])
|
||||
GameID = atoi(argv[0]);
|
||||
return 0;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue