Skip to content

Commit

Permalink
Help: Fix fatal error in the "Recruiting and Recalling" page.
Browse files Browse the repository at this point in the history
The error message was, upon opening the page:

```
Parse error when parsing help text: 'Error when parsing help markup as WML: 'Unexpected characters after variable name (expected , or =)
at <unknown>:2''
```

The <bold> tag in question can be seen on old_master_20181015 here:
https://github.com/wesnoth/wesnoth/blob/71a6daf961d8af303f9cbfd94b8443efc2fd57ef/data/core/help.cfg#L199
  • Loading branch information
jostephd committed Oct 22, 2018
1 parent a4b2818 commit 606ac38
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion data/core/help.cfg
Expand Up @@ -196,7 +196,7 @@ When you win a scenario, the map grays over and the <bold>text='End Turn'</bold>
[topic]
id=recruit_and_recall
title= _ "Recruiting and Recalling"
text="<img>src=help/recruit.png align=left float=yes</img>" + _ "Each side begins with one leader in their keep. At the start of any battle, and at times during it, you will need to recruit <ref>dst='..units' text='units'</ref> into your army. To recruit, you must have your leader (for instance, Konrad in the <italic>text='Heir to the Throne'</italic> campaign) on the keep hex of a <ref>dst='terrain_castle' text='castle'</ref>. Then you may recruit by either choosing <bold>text='Recruit'</bold> from the menu or right-clicking on a hex and selecting <bold>text='Recruit'</bold>. This brings up the recruit menu, which lists units available for recruitment, along with their gold cost. Click on a unit to see its statistics, then press the <bold>Recruit</bold> button to recruit it." + _ "
text="<img>src=help/recruit.png align=left float=yes</img>" + _ "Each side begins with one leader in their keep. At the start of any battle, and at times during it, you will need to recruit <ref>dst='..units' text='units'</ref> into your army. To recruit, you must have your leader (for instance, Konrad in the <italic>text='Heir to the Throne'</italic> campaign) on the keep hex of a <ref>dst='terrain_castle' text='castle'</ref>. Then you may recruit by either choosing <bold>text='Recruit'</bold> from the menu or right-clicking on a hex and selecting <bold>text='Recruit'</bold>. This brings up the recruit menu, which lists units available for recruitment, along with their gold cost. Click on a unit to see its statistics, then press the <bold>text='Recruit'</bold> button to recruit it." + _ "
If you right-clicked on a castle hex and selected recruit, the new unit will appear in that hex. Otherwise, it will appear in a free hex near the keep. You may only recruit as many units as you have free hexes in your castle, and you cannot spend more gold than you actually have on recruiting." + _ "
Expand Down

0 comments on commit 606ac38

Please sign in to comment.