Updated the ENTIRE CODEBASE TO MATCH
This commit is contained in:
@@ -30,7 +30,7 @@ void TextFieldReader::UpdateComponent(EntityWrapper& entity, ComponentWrapper& c
|
||||
}
|
||||
const ComponentInfo::Field_t& field = component.Info.Fields.at(fieldName);
|
||||
|
||||
std::string& text = entity["Text"]["Content"];
|
||||
Field<std::string> text = entity["Text"]["Content"];
|
||||
|
||||
if (field.Type == "int") {
|
||||
text = boost::lexical_cast<std::string>((const int&)component[fieldName]);
|
||||
|
||||
Reference in New Issue
Block a user