Fix clone producing RSST(RSST).

This commit is contained in:
Saveliy Skresanov
2024-01-12 23:34:34 +07:00
parent c352b08d86
commit c5034dd01a

View File

@@ -77,6 +77,7 @@ int update(UPDATE_FUNC_ARGS)
// Set RSST ctype from nearby clone // Set RSST ctype from nearby clone
if((TYP(r) == PT_CLNE) || (TYP(r) == PT_PCLN)) if((TYP(r) == PT_CLNE) || (TYP(r) == PT_PCLN))
{ {
if(parts[ID(r)].ctype != PT_RSST)
parts[i].ctype = parts[ID(r)].ctype; parts[i].ctype = parts[ID(r)].ctype;
} }
} }