diff options
| author | mat <git@matdoes.dev> | 2025-12-19 12:13:06 +1200 |
|---|---|---|
| committer | mat <git@matdoes.dev> | 2025-12-19 12:13:06 +1200 |
| commit | 1d82ed842de6622d6e6c48c1c6a3c9289bcffedd (patch) | |
| tree | 5927d93c86e63047c06b73ae1e906963f10d77cc /codegen/lib/code | |
| parent | 82effd29c472cac9ea54fb6d24e88656517f01a0 (diff) | |
| download | azalea-drasl-1d82ed842de6622d6e6c48c1c6a3c9289bcffedd.tar.xz | |
fix some wrong entity variants and make apply_metadata functions private
Diffstat (limited to 'codegen/lib/code')
| -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 {") |
