"{\n"
"%s"
" \"game_version\": \"%s\",\n"
+ " \"batch_time\": \"%d\",\n"
" \"levelset_identifier\": \"%s\",\n"
" \"levelset_name\": \"%s\",\n"
" \"levelset_author\": \"%s\",\n"
"}\n",
getPasswordJSON(setup.api_server_password),
getProgramRealVersionString(),
+ (int)global.autoplay_time,
levelset_identifier,
levelset_name,
levelset_author,
if (global.autoplay_mode == AUTOPLAY_MODE_FIX)
options.mytapes = TRUE;
+ // set timestamp for batch tape upload
+ global.autoplay_time = time(NULL);
+
num_tapes = 0;
init_level_set = TRUE;
return num_tapes;
}
+ // clear timestamp for batch tape upload (required after interactive upload)
+ global.autoplay_time = 0;
+
if (program.headless)
CloseAllAndExit(0);