Khaligufzel / Dimensionfall

A survival game inspired by Cataclysm: Dark Days Ahead and Bright Nights.
MIT License
12 stars 5 forks source link

Trying to return value of type "String" from a function which the return type is "Dictionary". #206

Closed snipercup closed 3 months ago

snipercup commented 3 months ago

Got this error:

Trying to return value of type "String" from a function which the return type is "Dictionary".

On this line: https://github.com/Khaligufzel/CataX/blob/38c64ee55d8160c439e4d3ce8d82c7360f1b50e9/Scripts/gamedata.gd#L239

Here is a screenshot of the stacktrace image

Steps to reproduce:

I think this might be because of what happens during duplication. The map id is missing .json at the end for some reason.