Minor tweaks

This commit is contained in:
Wojtek Figat
2023-09-25 11:00:49 +02:00
parent 626bdf2e37
commit b2ec235f01
5 changed files with 6 additions and 5 deletions

View File

@@ -26,7 +26,7 @@ namespace
}
NavMeshRuntime::NavMeshRuntime(const NavMeshProperties& properties)
: ScriptingObject(SpawnParams(Guid::Empty, NavMeshRuntime::TypeInitializer))
: ScriptingObject(SpawnParams(Guid::New(), NavMeshRuntime::TypeInitializer))
, Properties(properties)
{
_navMesh = nullptr;