patch copying special "Data" attribute (#439)

This commit is contained in:
Matt Jeanes 2023-10-24 00:56:23 +01:00 committed by GitHub
parent a7adb33ef8
commit 4295fd95cc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -136,6 +136,9 @@ local function CopyEntTable(Ent, Offset)
if EntityClass then
for iNumber, Key in pairs(EntityClass.Args) do
if gtSetupTable.SPECIAL[Key] then
Tab = CopyClassArgTable(EntTable)
end
-- Ignore keys from old system
if (not gtSetupTable.POS[Key] and
not gtSetupTable.ANG[Key] and