better RepeatUpdateComponentException message
parent
fd8a0b1b00
commit
faefa3d687
|
@ -150,7 +150,7 @@ namespace Encompass
|
||||||
{
|
{
|
||||||
if (pendingUpdates.ContainsKey(componentID))
|
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);
|
pendingUpdates.Add(componentID, newComponentValue);
|
||||||
|
|
Loading…
Reference in New Issue