mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-01 03:32:38 +00:00
use instance id in DumpWorldObjects file names
This commit is contained in:
parent
2dbc57bb14
commit
3d8679b33d
@ -35,7 +35,7 @@ public static class DeterministicManager
|
||||
{
|
||||
if (QSBCore.DebugSettings.DumpWorldObjects)
|
||||
{
|
||||
using (var file = File.CreateText(Path.Combine(QSBCore.Helper.Manifest.ModFolderPath, "world objects.csv")))
|
||||
using (var file = File.CreateText(Path.Combine(QSBCore.Helper.Manifest.ModFolderPath, $"[{DebugLog.ProcessInstanceId}] world objects.csv")))
|
||||
{
|
||||
file.WriteLine("world object,deterministic path");
|
||||
foreach (var worldObject in QSBWorldSync.GetWorldObjects())
|
||||
@ -51,7 +51,7 @@ public static class DeterministicManager
|
||||
}
|
||||
}
|
||||
|
||||
using (var file = File.CreateText(Path.Combine(QSBCore.Helper.Manifest.ModFolderPath, "cache.csv")))
|
||||
using (var file = File.CreateText(Path.Combine(QSBCore.Helper.Manifest.ModFolderPath, $"[{DebugLog.ProcessInstanceId}] cache.csv")))
|
||||
{
|
||||
file.WriteLine("name,instance id,sibling index,parent,parent instance id");
|
||||
foreach (var (transform, (siblingIndex, parent)) in _cache)
|
||||
|
Loading…
Reference in New Issue
Block a user