diff options
Diffstat (limited to 'tools/datapacker')
-rw-r--r-- | tools/datapacker/main.cpp | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/tools/datapacker/main.cpp b/tools/datapacker/main.cpp index 6c2f543..e3ab100 100644 --- a/tools/datapacker/main.cpp +++ b/tools/datapacker/main.cpp | |||
@@ -96,9 +96,8 @@ class DataPacker { | |||
96 | 96 | ||
97 | if (metadata.has_worldport_entrance()) { | 97 | if (metadata.has_worldport_entrance()) { |
98 | map.set_worldport_entrance(container_.FindOrAddPort( | 98 | map.set_worldport_entrance(container_.FindOrAddPort( |
99 | metadata.worldport_entrance().map(), | 99 | map_name, metadata.worldport_entrance().room(), |
100 | metadata.worldport_entrance().room(), | 100 | metadata.worldport_entrance().name(), std::nullopt, std::nullopt)); |
101 | metadata.worldport_entrance().name(), map_name, std::nullopt)); | ||
102 | } | 101 | } |
103 | } | 102 | } |
104 | 103 | ||