(no branch):

Added nullptr return when checking for GetMainCameraComponent
This commit is contained in:
Xiao Qi 2022-11-22 02:06:13 +08:00
parent 1666a0113b
commit e86964e5b7
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;
}
}