diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/content_sao.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/content_sao.cpp b/src/content_sao.cpp index 53bf3154f..937363b76 100644 --- a/src/content_sao.cpp +++ b/src/content_sao.cpp @@ -175,6 +175,8 @@ void LuaEntitySAO::addedToEnvironment(u32 dtime_s) // Activate entity, supplying serialized state m_env->getScriptIface()-> luaentity_Activate(m_id, m_init_state.c_str(), dtime_s); + } else { + m_prop.infotext = m_init_name; } } |