anchor.diff:  		entities = Entities,
   		incoming_updates = Updates
   	} = State,
  -	
  +
   	{NewEntities2, OutgoingUpdates2} = lists:foldl(
   		fun(Entity, {NewEntities1, OutgoingUpdates1}) ->
  -			IncomingEntityUpdates = dict:fetch(Entity#entity.id, Updates),
  +			IncomingEntityUpdates = dict:find(Entity#entity.id, Updates),
   
   			% Wrap return_result, passing the new entities and outgoing updates lists.
   			ReturnResult = fun(BehaviorFuncResult, Context) ->
  
positive.code: 	end,
  
  	% Restart the simulation timer
  	erlang:send_after(NextInterval, self(), simulate),
  
  	State2 = State1#state {
  		last_simulate = Start
  	},
  
      {noreply, State2};
  
  handle_msg({updates, NewUpdates}, _From, State) ->
  	#state {
  
negative.code: 	},
  	{noreply, State1};
  
  handle_msg(Msg, From, State) ->
  	?warn("pre_entity_engine_worker:handle_msg(~p, ~p, ~p): Unrecognized message!", [Msg, From, State]),
  	{noreply, State}.
  
  %% --------------------------------------------------------------------------------------------------------------------
  