Tiny: Changed warning message.

This commit is contained in:
William Moberg
2016-02-09 17:21:10 +01:00
parent 232bf66a09
commit 830e0f66c9
+1 -1
View File
@@ -19,7 +19,7 @@ bool EntityWrapper::HasComponent(const std::string& componentName)
void EntityWrapper::AttachComponent(const char* componentName) void EntityWrapper::AttachComponent(const char* componentName)
{ {
if (!Valid()) { if (!Valid()) {
LOG_WARNING("Could not attach \"%s\" component to #%i, component is not valid.", componentName, ID); LOG_WARNING("Could not attach \"%s\" component to #%i, entity is not valid.", componentName, ID);
return; return;
} }
World->AttachComponent(ID, componentName); World->AttachComponent(ID, componentName);