1
0
Fork 0
mirror of https://github.com/demostf/demo.js synced 2026-06-04 09:04:13 +02:00

update codegen

This commit is contained in:
Robin Appelman 2019-08-12 13:29:47 +02:00
commit 0c72d74561
2 changed files with 22 additions and 8 deletions

View file

@ -28,7 +28,7 @@ export class SendTable {
public getAllPropsIteratorProps(excludes: SendPropDefinition[], props: SendPropDefinition[], childProps: SendPropDefinition[]) {
for (const prop of this.props) {
if (prop.hasFlag(SendPropFlag.SPROP_EXCLUDE) || excludes.indexOf(prop) !== -1) {
if (prop.hasFlag(SendPropFlag.SPROP_EXCLUDE)) {
continue;
}
if (excludes.filter((exclude) => {