diff --git a/ryzom/common/data_common/r2/r2_ui_displayer_npc.lua b/ryzom/common/data_common/r2/r2_ui_displayer_npc.lua index cc4b12c33..43b549b72 100644 --- a/ryzom/common/data_common/r2/r2_ui_displayer_npc.lua +++ b/ryzom/common/data_common/r2/r2_ui_displayer_npc.lua @@ -399,7 +399,7 @@ function r2:initTypeUI(instance) end end - if instance.TypeNPC != place then + if instance.TypeNPC ~= place then -- TypeNPC does not remain valid between versions, it actually shouldn't be saved... debugInfo("Initialize or update TypeNPC"); r2.requestSetGhostNode(instance.InstanceId, "TypeNPC", place)