better RepeatUpdateComponentException message

pull/5/head
Evan Hemsley 2019-07-20 14:13:11 -07:00
parent fd8a0b1b00
commit faefa3d687
1 changed files with 1 additions and 1 deletions

View File

@ -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);