make sure enemies attack when tree changes