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