aboutsummaryrefslogtreecommitdiff
path: root/codegen
diff options
context:
space:
mode:
authormat <git@matdoes.dev>2025-12-19 12:13:06 +1200
committermat <git@matdoes.dev>2025-12-19 12:13:06 +1200
commit1d82ed842de6622d6e6c48c1c6a3c9289bcffedd (patch)
tree5927d93c86e63047c06b73ae1e906963f10d77cc /codegen
parent82effd29c472cac9ea54fb6d24e88656517f01a0 (diff)
downloadazalea-drasl-1d82ed842de6622d6e6c48c1c6a3c9289bcffedd.tar.xz
fix some wrong entity variants and make apply_metadata functions private
Diffstat (limited to 'codegen')
-rw-r--r--codegen/lib/code/entity.py2
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 {")