Use Empty instead of implicit bool.

This commit is contained in:
Ottermandias 2021-04-19 17:17:47 +02:00
parent ba7cf17d68
commit c3a8b4cb0b

View file

@ -67,7 +67,7 @@ namespace Penumbra.Game
public static ObjectType PathToObjectType( GamePath path )
{
if( !path )
if( path.Empty )
{
return ObjectType.Unknown;
}