mirror of
https://github.com/clusterio/clusterio.git
synced 2026-11-18 07:33:12 +09:00
Delete player statistics when deleting instances
Clear the statistics stored per user for the instance when an instance is deleted.
This commit is contained in:
1 parent
1021e29c98
commit
8865509011
4 files changed
+35
No files matched your search
@@ -964,6 +964,7 @@ export default class Controller {
|
||||
this.instancesDirty = true;
|
||||
|
||||
this.clearSavesOfInstance(instanceId);
|
||||
this.userManager.clearStatsOfInstance(instanceId);
|
||||
|
||||
let prev = instance.status;
|
||||
instance.status = "deleted";
|
||||
|
||||
Reference in new issue
Block a user