diff options
author | Star Rauchenberger <fefferburbia@gmail.com> | 2025-09-21 12:44:50 -0400 |
---|---|---|
committer | Star Rauchenberger <fefferburbia@gmail.com> | 2025-09-21 12:44:50 -0400 |
commit | b53018acc54a7b8812a0b9830562879071d05fa6 (patch) | |
tree | 263795fb5358292263916a1621bacabc73873645 /tools/datapacker/main.cpp | |
parent | e896b5e91c04723484c25bf1e2b00a248ea18614 (diff) | |
download | lingo2-archipelago-b53018acc54a7b8812a0b9830562879071d05fa6.tar.gz lingo2-archipelago-b53018acc54a7b8812a0b9830562879071d05fa6.tar.bz2 lingo2-archipelago-b53018acc54a7b8812a0b9830562879071d05fa6.zip |
Diffstat (limited to 'tools/datapacker/main.cpp')
-rw-r--r-- | tools/datapacker/main.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/tools/datapacker/main.cpp b/tools/datapacker/main.cpp index 596259b..33e4cfe 100644 --- a/tools/datapacker/main.cpp +++ b/tools/datapacker/main.cpp | |||
@@ -239,7 +239,13 @@ class DataPacker { | |||
239 | Port& port = *container_.all_objects().mutable_ports(port_id); | 239 | Port& port = *container_.all_objects().mutable_ports(port_id); |
240 | 240 | ||
241 | port.set_path(h_port.path()); | 241 | port.set_path(h_port.path()); |
242 | port.set_orientation(h_port.orientation()); | 242 | |
243 | if (h_port.no_shuffle()) { | ||
244 | port.set_no_shuffle(h_port.no_shuffle()); | ||
245 | } else { | ||
246 | *port.mutable_destination() = h_port.destination(); | ||
247 | port.set_rotation(h_port.rotation()); | ||
248 | } | ||
243 | 249 | ||
244 | // Setting this explicitly because the Godot protobuf doesn't support | 250 | // Setting this explicitly because the Godot protobuf doesn't support |
245 | // custom defaults. | 251 | // custom defaults. |