SenseiUsagi / umap-to-uefn-converter

This is the source code for my umap to uefn converter website.
https://senseiusagi.github.io/umap-to-uefn-converter/
GNU Affero General Public License v3.0
5 stars 0 forks source link

TypeError when converting Chapter 3 JSON #8

Closed SenseiUsagi closed 2 months ago

SenseiUsagi commented 2 months ago

Describe the bug When uploading a json map from chapter 3 the error "TypeError: Cannot read properties of undefined (reading 'includes')" comes up.

To Reproduce Steps to reproduce the behavior:

  1. Upload json from Chapter 3
  2. Press convert

Expected behavior No error popup shows up

Screenshots grafik

Additional context I think some path string was undefined when it shouldnt have been. Needs investigation. Problem discovered and json files provided by KPM (kpmisparrot) on discord Json files to test with:

Artemis_1x1_Ruins_01.json Artemis_1x1_Ruins_Tower_01.json Artemis_15x15_LaunchSite_Hatches_01.json Artemis_POI_MovieScreen.json Artemis_Poi_SummerCamp.json Artemis_15x15_GasStation_01.json Artemis_1x1_BeachShack_01.json