diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/client/content_cao.cpp | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/client/content_cao.cpp b/src/client/content_cao.cpp index 6ab83361a..ea034f629 100644 --- a/src/client/content_cao.cpp +++ b/src/client/content_cao.cpp @@ -828,6 +828,9 @@ void GenericCAO::addToScene(ITextureSource *tsrc) updateAttachments(); setNodeLight(m_last_light); updateMeshCulling(); + + if (m_client->modsLoaded()) + m_client->getScript()->on_object_properties_change(m_id); } void GenericCAO::updateLight(u32 day_night_ratio) |