diff --git a/src/xml_loadsave_fixtures.c b/src/xml_loadsave_fixtures.c index caadb006..ab6a6bda 100644 --- a/src/xml_loadsave_fixtures.c +++ b/src/xml_loadsave_fixtures.c @@ -27,6 +27,7 @@ #include "fixture.h" #include "misc.h" #include "team.h" +#include "variables.h" #include "xml.h" #include "xml_loadsave_fixtures.h" @@ -203,6 +204,7 @@ xml_loadsave_fixtures_read(const gchar *filename, GArray *fixtures) } fixtures_array = fixtures; + statp = fixtures; if(g_markup_parse_context_parse(context, file_contents, length, &error)) {