Khaligufzel / Dimensionfall

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

Save map chunks #308

Closed snipercup closed 2 months ago

snipercup commented 2 months ago

Requires #306 Fixes #294

You can now save chunks from the escape menu. This will save the map around you, so you come back to the same furniture and items and their positions.

Had to fiddle with the chunk timers, so there will be a delay when exiting the game so it doesn't crash when all chunks are unloaded. To make it quicker, we'd have to investigate and resolve the reason it crashes when unloading chunks on a thread.