Compare commits

...

1 Commits

Author SHA1 Message Date
Xiao Qi e86964e5b7 (no branch):
Added nullptr return when checking for GetMainCameraComponent
2022-11-22 02:06:13 +08:00
1 changed files with 1 additions and 0 deletions

View File

@ -43,6 +43,7 @@ namespace SHADE
if (!camComponent)
{
SHLOG_WARNING("Camera Director warning: Entity does not have a camera");
return nullptr;
}
}