URL:
<http://gna.org/bugs/?22335>
Summary: Options collision that prevents values from being
initialized as variables
Project: Battle for Wesnoth
Submitted by: sigurdfdragon
Submitted on: Sun 13 Jul 2014 11:17:52 PM UTC
Category: Bug
Severity: 3 - Normal
Priority: 5 - Normal
Item Group: Multiplayer
Status: None
Privacy: Public
Assigned to: None
Originator Email:
Open/Closed: Open
Discussion Lock: Any
Release: 1.11/12 branch
Operating System: Win 7 x64
_______________________________________________________
Details:
Example:
if there is the following in the preferences file from an add-on:
[multiplayer]
id="SP_00"
[option]
id="random_campaign.gold_percentage"
value=100
[/option]
[option]
id="random_campaign.income_percentage"
value=100
[/option]
[/multiplayer]
and I then edit my add-on so the scenario id changes to 00_Setup
the above entry will prevent the new one from having an effect, thus
preventing the variables from being initialized in scenario start.
What happens is any changes to the sliders get saved under the old id=SP_00,
and thus not get used in the scenario.
A workaround/fix for it is to open the BfW preferences file and delete the
conflicting entry in the [options] section.
_______________________________________________________
Reply to this item at:
<http://gna.org/bugs/?22335>
_______________________________________________
Message sent via/by Gna!
http://gna.org/
_______________________________________________
Wesnoth-bugs mailing list
[email protected]
https://mail.gna.org/listinfo/wesnoth-bugs