Merge pull request #3174 from sronsse/fixes_for_team

command: Load dummy core on close only if core has not been initialized yet
This commit is contained in:
Twinaphex 2016-06-29 09:30:55 +02:00 committed by GitHub
commit 39778066dd

View File

@ -1897,6 +1897,7 @@ bool command_event(enum event_command cmd, void *data)
command_event(CMD_EVENT_AUTOSAVE_STATE, NULL);
command_event(CMD_EVENT_DISABLE_OVERRIDES, NULL);
if (content_is_inited())
if (!task_push_content_load_default(
NULL, NULL,
&content_info,