From faefa3d687d11ce1f48f280e1a13bc64467fdeee Mon Sep 17 00:00:00 2001 From: Evan Hemsley Date: Sat, 20 Jul 2019 14:13:11 -0700 Subject: [PATCH] better RepeatUpdateComponentException message --- encompass-cs/ComponentManager.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/encompass-cs/ComponentManager.cs b/encompass-cs/ComponentManager.cs index 2e908db..b18107a 100644 --- a/encompass-cs/ComponentManager.cs +++ b/encompass-cs/ComponentManager.cs @@ -150,7 +150,7 @@ namespace Encompass { if (pendingUpdates.ContainsKey(componentID)) { - throw new RepeatUpdateComponentException("Component with ID {0} was updated multiple times this frame", componentID); + throw new RepeatUpdateComponentException("Component {0} with ID {1} was updated multiple times this frame", typeof(TComponent).Name, componentID); } pendingUpdates.Add(componentID, newComponentValue);