From 297fda272485a2f6ebb8d67daa197fbd514974e2 Mon Sep 17 00:00:00 2001 From: anothersimulacrum Date: Fri, 24 Jun 2022 04:24:00 +0000 Subject: [PATCH] Don't manually load 'id' member for traits These are loaded with generic factory, which handles loading the 'id' member, and manually loading it breaks some features of generic factory. --- src/mutation_data.cpp | 1 - 1 file changed, 1 deletion(-) diff --git a/src/mutation_data.cpp b/src/mutation_data.cpp index 69030c5825c32..d71f66588b008 100644 --- a/src/mutation_data.cpp +++ b/src/mutation_data.cpp @@ -257,7 +257,6 @@ void reflex_activation_data::deserialize( const JsonObject &jo ) void mutation_branch::load( const JsonObject &jo, const std::string & ) { - mandatory( jo, was_loaded, "id", id ); mandatory( jo, was_loaded, "name", raw_name ); mandatory( jo, was_loaded, "description", raw_desc ); mandatory( jo, was_loaded, "points", points );