Save forceloaded blocks file periodically (#8535)
authorThomas Rudin <thomas@rudin.li>
Mon, 10 Jun 2019 00:07:33 +0000 (02:07 +0200)
committerrubenwardy <rw@rubenwardy.com>
Mon, 10 Jun 2019 00:07:33 +0000 (01:07 +0100)
commit9a07792f4d79ae5b386b781e6e73377f5758ee6a
tree06f88d47a868b84087d81938ba5418025d7d3c31
parenta687efa6dfb97927d94db4d2f05970cde9d4181f
Save forceloaded blocks file periodically (#8535)

saves the forceloaded blocks periodically.
checks every 10 seconds if the forceloaded blocks got changed in-game
and persists them on-disk if that's the case
builtin/game/forceloading.lua