aboutsummaryrefslogtreecommitdiff
path: root/codegen/lib/code/packet.py
diff options
context:
space:
mode:
authormat <github@matdoes.dev>2022-07-06 19:04:38 -0500
committermat <github@matdoes.dev>2022-07-06 19:04:38 -0500
commitcb8005be6500890f14b5d002f1242493a0653747 (patch)
treeffceaaa75d603fd7a07e35bb011071cba303ed44 /codegen/lib/code/packet.py
parentae3ad007b67e205ee093daa44619acae0f7ccc88 (diff)
downloadazalea-drasl-cb8005be6500890f14b5d002f1242493a0653747.tar.xz
Fix the mod.rs
Diffstat (limited to 'codegen/lib/code/packet.py')
-rw-r--r--codegen/lib/code/packet.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/codegen/lib/code/packet.py b/codegen/lib/code/packet.py
index 59632270..ffa7841c 100644
--- a/codegen/lib/code/packet.py
+++ b/codegen/lib/code/packet.py
@@ -141,6 +141,7 @@ def set_packets(packet_ids: list[int], packet_class_names: list[str], direction:
new_mod_rs.append(
make_packet_mod_rs_line(packet_id, packet_class_name)
)
+ required_modules.append(packet_class_name)
else:
ignore_lines = False
continue