summaryrefslogtreecommitdiff
path: root/src/content_nodemeta.cpp
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2012-06-04 18:19:23 +0300
committerPerttu Ahola <celeron55@gmail.com>2012-06-04 18:19:23 +0300
commit816b9c8d711818aaa3baec212216e47ac863814e (patch)
tree4c2289e0294f31542155bf69e3bbe5c25fed86ab /src/content_nodemeta.cpp
parent3bea1a944e881008f288322394864f3b944758d5 (diff)
downloadminetest-816b9c8d711818aaa3baec212216e47ac863814e.tar.gz
minetest-816b9c8d711818aaa3baec212216e47ac863814e.tar.bz2
minetest-816b9c8d711818aaa3baec212216e47ac863814e.zip
Fix loading of old signs
Diffstat (limited to 'src/content_nodemeta.cpp')
-rw-r--r--src/content_nodemeta.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/content_nodemeta.cpp b/src/content_nodemeta.cpp
index 2f32cf16a..07400b074 100644
--- a/src/content_nodemeta.cpp
+++ b/src/content_nodemeta.cpp
@@ -57,11 +57,11 @@ static bool content_nodemeta_deserialize_legacy_body(
}
else if(id == NODEMETA_SIGN) // SignNodeMetadata
{
- meta->setString("text", deSerializeLongString(is));
+ meta->setString("text", deSerializeString(is));
//meta->setString("infotext","\"${text}\"");
meta->setString("infotext",
std::string("\"") + meta->getString("text") + "\"");
- meta->setString("formspec","field[text;;${text}]");
+ meta->setString("formspec","hack:sign_text_input");
return false;
}
else if(id == NODEMETA_CHEST) // ChestNodeMetadata