Skip to content
Snippets Groups Projects
Commit 87afae9c authored by Monster Iestyn's avatar Monster Iestyn
Browse files

Fix unarchiving of mapheader_t userdata Lua variables

parent 445a6737
No related branches found
No related tags found
No related merge requests found
......@@ -853,7 +853,7 @@ static UINT8 UnArchiveValue(int TABLESINDEX)
LUA_PushUserdata(gL, &sectors[READUINT16(save_p)], META_SECTOR);
break;
case ARCH_MAPHEADER:
LUA_PushUserdata(gL, &sectors[READUINT16(save_p)], META_MAPHEADER);
LUA_PushUserdata(gL, mapheaderinfo[READUINT16(save_p)], META_MAPHEADER);
break;
case ARCH_TEND:
return 1;
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment