From f81b70f6e5ba684669627aa8ed2ca8d8f4f04b47 Mon Sep 17 00:00:00 2001 From: Mister_Nebula <41904486+misternebula@users.noreply.github.com> Date: Thu, 13 Jan 2022 12:13:31 +0000 Subject: [PATCH] add Name to LogName --- QSB/WorldSync/WorldObject.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/QSB/WorldSync/WorldObject.cs b/QSB/WorldSync/WorldObject.cs index 57a9dbee..5ad5e041 100644 --- a/QSB/WorldSync/WorldObject.cs +++ b/QSB/WorldSync/WorldObject.cs @@ -9,7 +9,7 @@ namespace QSB.WorldSync public int ObjectId { get; init; } public T AttachedObject { get; init; } public string Name => AttachedObject == null ? "" : AttachedObject.name; - public string LogName => $"{QSBPlayerManager.LocalPlayerId}.{ObjectId}:{GetType().Name}"; + public string LogName => $"{QSBPlayerManager.LocalPlayerId}.{ObjectId}:{GetType().Name} ({Name})"; public virtual void Init() { } public virtual void OnRemoval() { }