Sync MConf at once on update. Also don't transfer 0 money on disband.
This commit is contained in:
1 parent
07ab309e1c
commit
a4ff2abd5c
2 files changed
+5
-1
No files matched your search
@@ -45,6 +45,8 @@ public class UpdateUtil
|
||||
|
||||
// ... transfer the old uconf data over to the new mconf ...
|
||||
oldConf.transferTo(MConf.get());
|
||||
MConf.get().changed();
|
||||
MConf.get().sync();
|
||||
|
||||
// ... rename target collections ...
|
||||
Db db = MStore.getDb();
|
||||
|
||||
Reference in new issue
Block a user