diff --git a/src/lua_script.c b/src/lua_script.c index a7f0f74e..1a5b9726 100644 --- a/src/lua_script.c +++ b/src/lua_script.c @@ -1352,7 +1352,7 @@ static void UnArchiveExtVars(void *pointer) for (i = 0; i < field_count; i++) { - READSTRING(demo_p, field); + READSTRING(save_p, field); UnArchiveValue(TABLESINDEX); lua_setfield(gL, -2, field); }