mirror of
https://github.com/luanti-org/luanti.git
synced 2025-10-13 08:35:20 +02:00
Fix NodeMetadataList loosing memory on deserialize due to invalid clear map call instead of clear
This commit is contained in:
@@ -109,7 +109,7 @@ void NodeMetadataList::serialize(std::ostream &os) const
|
||||
|
||||
void NodeMetadataList::deSerialize(std::istream &is, IGameDef *gamedef)
|
||||
{
|
||||
m_data.clear();
|
||||
clear();
|
||||
|
||||
u8 version = readU8(is);
|
||||
|
||||
|
Reference in New Issue
Block a user