From 8b9f40d12f9542dac15fdf454b2e27c53f8a5019 Mon Sep 17 00:00:00 2001 From: red-001 Date: Thu, 22 Jun 2017 12:18:58 +0100 Subject: [PATCH] Fix CSM crash caused by move to C++11. (#6027) --- src/script/lua_api/l_nodemeta.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/script/lua_api/l_nodemeta.cpp b/src/script/lua_api/l_nodemeta.cpp index aa8d1c453..c446a8f07 100644 --- a/src/script/lua_api/l_nodemeta.cpp +++ b/src/script/lua_api/l_nodemeta.cpp @@ -176,7 +176,8 @@ NodeMetaRef::NodeMetaRef(v3s16 p, ServerEnvironment *env): } NodeMetaRef::NodeMetaRef(Metadata *meta): - m_meta(meta) + m_meta(meta), + m_is_local(true) { }