Merge branch 'mapheader-lua-unarchive-hotfix' into 'master'

mapheader lua unarchive hotfix

See merge request STJr/SRB2!302
This commit is contained in:
Monster Iestyn 2018-10-21 10:37:17 -04:00
commit 0e6c5cf342

View file

@ -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;