Update entity_manager.cpp

From work.