Merge pull request #4591 from Atlante45/entity_random_delete

Remove unload callback
This commit is contained in:
Brad Hefta-Gaub 2015-04-03 08:33:07 -07:00
commit d34133a89b

View file

@ -212,12 +212,8 @@
this.preload = function(entityID) {
this.preOperation(entityID);
};
this.unload = function(){
Entities.deleteEntity(this.lightID);
}
this.clickReleaseOnEntity = function(entityID, mouseEvent) {
this.preOperation(entityID);