campaignd: Include core= attribute from _server.pbl

Closes #5664.
This commit is contained in:
Iris Morelle 2021-10-27 17:26:24 -03:00
parent f8b98a725f
commit 831655fd57
No known key found for this signature in database
GPG key ID: E312033F4023A753
2 changed files with 2 additions and 1 deletions

View file

@ -1,6 +1,7 @@
## Version 1.16.0+dev
### Add-ons client
### Add-ons server
* Fixed `core=` attribute in _server.pbl being completely ignored (issue #5664).
### Campaigns
* Tutorial
* Use a portrait on the Campaigns menu.

View file

@ -1470,7 +1470,7 @@ void server::handle_upload(const server::request& req)
addon.copy_attributes(upload,
"title", "name", "author", "description", "version", "icon",
"translate", "dependencies", "type", "tags", "email");
"translate", "dependencies", "core", "type", "tags", "email");
const std::string& pathstem = "data/" + name;
addon["filename"] = pathstem;