Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Changed the isRegistered flag to be set before the onAdd method gets …

…called so that components can know when they are registered.
  • Loading branch information...
commit e890dc5169b43e7c53351897c8f506114cbed4fc 1 parent 7af908b
@hybridmindset authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  src/com/pblabs/engine/entity/EntityComponent.as
View
2  src/com/pblabs/engine/entity/EntityComponent.as
@@ -61,8 +61,8 @@ package com.pblabs.engine.entity
_name = name;
_owner = owner;
+ _isRegistered = true;
onAdd();
- _isRegistered = true;
}
/**
Please sign in to comment.
Something went wrong with that request. Please try again.