Lua API: Add read-write support to village_support field in wesnoth.sides[n]

This commit is contained in:
Ignacio R. Morelle 2013-12-18 23:49:21 -03:00
parent f10bf2b538
commit b73c9092ca

View file

@ -1208,6 +1208,7 @@ static int impl_side_set(lua_State *L)
modify_int_attrib("gold", t.set_gold(value));
modify_tstring_attrib("objectives", t.set_objectives(value, true));
modify_int_attrib("village_gold", t.set_village_gold(value));
modify_int_attrib("village_support", t.set_village_support(value));
modify_int_attrib("recall_cost", t.set_recall_cost(value));
modify_int_attrib("base_income", t.set_base_income(value));
modify_bool_attrib("objectives_changed", t.set_objectives_changed(value));