laverdet / xxscreeps

Other
71 stars 16 forks source link

[Bug] Data in RawMemory.segments does not persist through global resets #56

Open Mirroar opened 2 years ago

Mirroar commented 2 years ago

When a global reset occurs (uploading code, restarting the server), data in RawMemory.segments seems to be lost. Here's a screenshot of the console.

segments empty

The first 2 lines of output come from my normal code. Then I uploaded an empty main.js, causing a global reset, and the manual commands in the console show that the segment is now empty again.