mirror of
https://github.com/amyinspace/MagicSetEditor2.git
synced 2026-06-10 04:57:00 -04:00
Fixed: custom keywords not immediatly active;
Version bump; Moved the busy cursor to actual loading of set; git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@364 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
@@ -226,10 +226,10 @@ SCRIPT_RULE_2_N_DEP(expand_keywords, ScriptValueP, _("default expand"), default_
|
||||
SCRIPT_PARAM(Set*, set);
|
||||
KeywordDatabase& db = set->keyword_db;
|
||||
if (db.empty()) {
|
||||
db.add(set->game->keywords);
|
||||
db.add(set->keywords);
|
||||
db.prepare_parameters(set->game->keyword_parameter_types, set->game->keywords);
|
||||
db.prepare_parameters(set->game->keyword_parameter_types, set->keywords);
|
||||
db.add(set->game->keywords);
|
||||
db.add(set->keywords);
|
||||
}
|
||||
SCRIPT_RETURN(db.expand(input, default_expand, combine, ctx));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user