Skip to content

Commit

Permalink
Schema: side=global is valid in [*_global_variable]
Browse files Browse the repository at this point in the history
  • Loading branch information
CelticMinstrel committed Oct 24, 2018
1 parent 56cbabc commit 2a5e8c7
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 3 deletions.
6 changes: 3 additions & 3 deletions data/schema/core/actionwml.cfg
Expand Up @@ -1483,22 +1483,22 @@
name="clear_global_variable"
{REQUIRED_KEY global string}
{REQUIRED_KEY namespace string}
{SIMPLE_KEY side s_unsigned}
{DEFAULT_KEY side s_unsigned,global global}
{DEFAULT_KEY immediate s_bool no}
[/tag]
[tag]
name="get_global_variable"
{REQUIRED_KEY from_global string}
{REQUIRED_KEY to_local string}
{REQUIRED_KEY namespace string}
{SIMPLE_KEY side s_unsigned}
{DEFAULT_KEY side s_unsigned,global global}
[/tag]
[tag]
name="set_global_variable"
{REQUIRED_KEY to_global string}
{REQUIRED_KEY from_local string}
{REQUIRED_KEY namespace string}
{SIMPLE_KEY side s_unsigned}
{DEFAULT_KEY side s_unsigned,global global}
{DEFAULT_KEY immediate s_bool no}
[/tag]
[tag]
Expand Down
4 changes: 4 additions & 0 deletions data/schema/game_config.cfg
Expand Up @@ -405,6 +405,10 @@
{SUBST_TYPE terrain_code}
{SUBST_TYPE dir}
{SUBST_TYPE int_percent}
[type]
name="global"
value="global"
[/type]
[tag]
name="root"
min=1
Expand Down

0 comments on commit 2a5e8c7

Please sign in to comment.