Add underscore.

Both cfg and cfg_ refer to the same thing, which is why it works anyway, but it's still a typo.
This commit is contained in:
Pentarctagon 2021-01-08 12:41:20 -06:00
parent dbf9d355cf
commit 8b3498e3c5
No known key found for this signature in database
GPG key ID: 9456BC54A21DBFA0

View file

@ -34,7 +34,7 @@ wesnothd::player::player(const std::string& n, simple_wml::node& cfg, int id,
cfg_.set_attr_dup("name", n.c_str());
cfg_.set_attr("registered", registered ? "yes" : "no");
cfg_.set_attr("moderator", moderator ? "yes" : "no");
cfg.set_attr_int("forum_id", id);
cfg_.set_attr_int("forum_id", id);
mark_available();
}