diff options
Diffstat (limited to 'codegen/lib/code/entity.py')
| -rw-r--r-- | codegen/lib/code/entity.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/codegen/lib/code/entity.py b/codegen/lib/code/entity.py index 9d9e7733..f6ca7c7b 100644 --- a/codegen/lib/code/entity.py +++ b/codegen/lib/code/entity.py @@ -386,7 +386,7 @@ impl From<EntityDataValue> for UpdateMetadataError { # } code.append(f"impl {entity_struct_name} {{") code.append( - " pub fn apply_metadata(entity: &mut bevy_ecs::system::EntityCommands, d: EntityDataItem) -> Result<(), UpdateMetadataError> {" + " fn apply_metadata(entity: &mut bevy_ecs::system::EntityCommands, d: EntityDataItem) -> Result<(), UpdateMetadataError> {" ) code.append(" match d.index {") |
