From a85ded1262a1ecf7e03fa9211a6652996bbdfab0 Mon Sep 17 00:00:00 2001 From: Lynix Date: Thu, 31 Aug 2017 19:39:45 +0200 Subject: [PATCH] Sdk/World: Fix movement --- SDK/include/NDK/World.inl | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/SDK/include/NDK/World.inl b/SDK/include/NDK/World.inl index d45f0ff1d..0cb0fc7c9 100644 --- a/SDK/include/NDK/World.inl +++ b/SDK/include/NDK/World.inl @@ -314,7 +314,8 @@ namespace Ndk m_systems = std::move(world.m_systems); for (const auto& systemPtr : m_systems) - systemPtr->SetWorld(this); + if (systemPtr) + systemPtr->SetWorld(this); return *this; }