Khaligufzel / Dimensionfall

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

Change how mapdata.levels is used in the mapeditor #404

Closed snipercup closed 2 days ago

snipercup commented 5 days ago

Requires #403 Fixes #402

Tiledata was stored inside the tile instances, but this lead to various issues when changing a level or renaming areas. This pr refactors the script so that all mapdata.levels processing is done in the GridContainer script. This involved moving some function from mapeditortile into the gridcontainer script.

I tested some functions of the mapeditor. I think everything works but if there are any more bugs I'll add them as new issues.