aboutsummaryrefslogtreecommitdiff
path: root/src/localplayer.cpp
diff options
context:
space:
mode:
authorest31 <MTest31@outlook.com>2015-10-24 08:20:42 +0200
committerest31 <MTest31@outlook.com>2015-10-24 08:45:13 +0200
commitf9eb31f317ed2de61f6a57fb6d99604aa9d13b94 (patch)
treed6007f249a0c5206c0abb5e5ac006f5b91c7f967 /src/localplayer.cpp
parent964be640cb1072b122e5047ddfed19907c6b9dab (diff)
downloadminetest-f9eb31f317ed2de61f6a57fb6d99604aa9d13b94.tar.gz
minetest-f9eb31f317ed2de61f6a57fb6d99604aa9d13b94.tar.bz2
minetest-f9eb31f317ed2de61f6a57fb6d99604aa9d13b94.zip
Flush rollback log more often
Flushes the buffer of rollback actions that wait to get saved in two more situations: 1. Flushes in the destructor of the rollback. This makes the server not forget the last < 500 rollback entries when it shuts down. 2. Flushes the rollback when /rollback_check is invoked. This is neccessary as otherwise it leads to confusion if users want to test the rollback functionality by placing a node and then executing the check on it, or if the actions were very recent out of other reasons.
Diffstat (limited to 'src/localplayer.cpp')
0 files changed, 0 insertions, 0 deletions